FlatBuffers
An open source project by FPL.
com.google.flatbuffers.FlatBufferBuilder.HeapByteBufferFactory Class Reference

An implementation of the ByteBufferFactory interface that is used when one is not provided by the user. More...

Inheritance diagram for com.google.flatbuffers.FlatBufferBuilder.HeapByteBufferFactory:
com.google.flatbuffers.FlatBufferBuilder.ByteBufferFactory

Detailed Description

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)
 
- Public Member Functions inherited from com.google.flatbuffers.FlatBufferBuilder.ByteBufferFactory
abstract ByteBuffer newByteBuffer (int capacity)
 Create a ByteBuffer with a given capacity. More...
 
void releaseByteBuffer (ByteBuffer bb)
 Release a ByteBuffer. More...
 

Static Public Attributes

static final HeapByteBufferFactory INSTANCE = new HeapByteBufferFactory()
 

The documentation for this class was generated from the following file: