| Package | Description |
|---|---|
| net.kuujo.catalyst.buffer |
Provides a low-level
Buffer abstraction backed by on- or off-heap memory, memory mapped
files, or RandomAccessFile. |
| Modifier and Type | Method and Description |
|---|---|
static HeapBuffer |
HeapBuffer.allocate()
Allocates a heap buffer with an initial capacity of
4096 and a maximum capacity of HeapMemory.MAX_SIZE. |
static HeapBuffer |
HeapBuffer.allocate(long initialCapacity)
Allocates a heap buffer with the given initial capacity.
|
static HeapBuffer |
HeapBuffer.allocate(long initialCapacity,
long maxCapacity)
Allocates a new heap buffer.
|
HeapBuffer |
HeapBuffer.reset(byte[] array)
Resets the internal heap array.
|
static HeapBuffer |
HeapBuffer.wrap(byte[] bytes)
Wraps the given bytes in a heap buffer.
|
Copyright © 2013–2015. All rights reserved.