Searched refs:bb_factory (Results 1 – 1 of 1) sorted by relevance
55 ByteBufferFactory bb_factory; // Factory for allocating the internal buffer field in FlatBufferBuilder64 public FlatBufferBuilder(int initial_size, ByteBufferFactory bb_factory) { in FlatBufferBuilder() argument67 this.bb_factory = bb_factory; in FlatBufferBuilder()68 bb = bb_factory.newByteBuffer(initial_size); in FlatBufferBuilder()96 public FlatBufferBuilder(ByteBuffer existing_bb, ByteBufferFactory bb_factory) { in FlatBufferBuilder() argument97 init(existing_bb, bb_factory); in FlatBufferBuilder()121 public FlatBufferBuilder init(ByteBuffer existing_bb, ByteBufferFactory bb_factory){ in init() argument122 this.bb_factory = bb_factory; in init()195 static ByteBuffer growByteBuffer(ByteBuffer bb, ByteBufferFactory bb_factory) { in growByteBuffer() argument201 ByteBuffer nbb = bb_factory.newByteBuffer(new_buf_size); in growByteBuffer()[all …]