![]() |
FlatBuffers
An open source project by FPL.
|
An implementation of the ByteBufferFactory interface that is used when one is not provided by the user. More...
An implementation of the ByteBufferFactory interface that is used when one is not provided by the user.
Allocate memory for a new byte-array backed ByteBuffer
array inside the JVM.
Public Member Functions | |
ByteBuffer | newByteBuffer (int capacity) |
Create a ByteBuffer with a given capacity. More... | |
|
inline |
Create a ByteBuffer
with a given capacity.
capacity | The size of the ByteBuffer to allocate. |
ByteBuffer
that was allocated. Implements com.google.flatbuffers.FlatBufferBuilder.ByteBufferFactory.