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.
|
public ByteBuffer newByteBuffer(int capacity)
FlatBufferBuilder.ByteBufferFactorynewByteBuffer in interface FlatBufferBuilder.ByteBufferFactorycapacity - The size of the `ByteBuffer` to allocate.Copyright © 2018. All rights reserved.