@Immutable public class HeapByteBufferAllocator extends Object implements ByteBufferAllocator
ByteBuffer instances using
ByteBuffer.allocate(int).| Constructor and Description |
|---|
HeapByteBufferAllocator() |
public ByteBuffer allocate(int size)
ByteBufferAllocatorByteBuffer of the given size.allocate in interface ByteBufferAllocatorsize - the size of the buffer.Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.