Uses of Class
io.objectbox.flatbuffers.FlatBufferBuilder.ByteBufferFactory
Packages that use FlatBufferBuilder.ByteBufferFactory
-
Uses of FlatBufferBuilder.ByteBufferFactory in io.objectbox.flatbuffers
Subclasses of FlatBufferBuilder.ByteBufferFactory in io.objectbox.flatbuffersModifier and TypeClassDescriptionstatic final classAn implementation of the ByteBufferFactory interface that is used when one is not provided by the user.Fields in io.objectbox.flatbuffers declared as FlatBufferBuilder.ByteBufferFactoryModifier and TypeFieldDescription(package private) FlatBufferBuilder.ByteBufferFactoryFlatBufferBuilder.bb_factoryMethods in io.objectbox.flatbuffers with parameters of type FlatBufferBuilder.ByteBufferFactoryModifier and TypeMethodDescription(package private) static ByteBufferFlatBufferBuilder.growByteBuffer(ByteBuffer bb, FlatBufferBuilder.ByteBufferFactory bb_factory) Doubles the size of the backingByteBufferand copies the old data towards the end of the new buffer (since we build the buffer backwards).FlatBufferBuilder.init(ByteBuffer existing_bb, FlatBufferBuilder.ByteBufferFactory bb_factory) Alternative initializer that allows reusing this object on an existing `ByteBuffer`.Constructors in io.objectbox.flatbuffers with parameters of type FlatBufferBuilder.ByteBufferFactoryModifierConstructorDescriptionFlatBufferBuilder(int initial_size, FlatBufferBuilder.ByteBufferFactory bb_factory) Start with a buffer of size `initial_size`, then grow as required.FlatBufferBuilder(int initial_size, FlatBufferBuilder.ByteBufferFactory bb_factory, ByteBuffer existing_bb, Utf8 utf8) Start with a buffer of size `initial_size`, then grow as required.FlatBufferBuilder(ByteBuffer existing_bb, FlatBufferBuilder.ByteBufferFactory bb_factory) Alternative constructor allowing reuse ofByteBuffers.