public static final class FlatBufferBuilder.HeapByteBufferFactory extends Object implements FlatBufferBuilder.ByteBufferFactory
| Constructor and Description |
|---|
HeapByteBufferFactory() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
newByteBuffer(int capacity)
Create a `ByteBuffer` with a given capacity.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreleaseByteBufferpublic ByteBuffer newByteBuffer(int capacity)
FlatBufferBuilder.ByteBufferFactorynewByteBuffer in interface FlatBufferBuilder.ByteBufferFactorycapacity - The size of the `ByteBuffer` to allocate.Copyright © 2018. All rights reserved.