| Modifier and Type | Field and Description |
|---|---|
| public static final BufferAllocator | BYTE_BUFFER_ALLOCATOR
A simple allocator for heap-array-backed byte buffers. |
| public static final BufferAllocator | DIRECT_BYTE_BUFFER_ALLOCATOR
A simple allocator for direct byte buffers. |
| Modifier and Type | Method and Description |
|---|---|
| public B |
| BYTE_BUFFER_ALLOCATOR | back to summary |
|---|---|
| public static final BufferAllocator<ByteBuffer> BYTE_BUFFER_ALLOCATOR A simple allocator for heap-array-backed byte buffers. | |
| DIRECT_BYTE_BUFFER_ALLOCATOR | back to summary |
|---|---|
| public static final BufferAllocator<ByteBuffer> DIRECT_BYTE_BUFFER_ALLOCATOR A simple allocator for direct byte buffers. | |
| allocate | back to summary |
|---|---|
| public B allocate(int size) throws IllegalArgumentException Allocate a buffer of the given size.
| |