public class ByteBufferExpander extends Object implements AutoCloseable
| Constructor and Description |
|---|
ByteBufferExpander(int initSize,
ByteOrder order) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
buffer()
Current byte buffer.
|
void |
close() |
ByteBuffer |
expand(int size)
Expands current byte buffer to the requested size.
|
public ByteBufferExpander(int initSize,
ByteOrder order)
initSize - Initial size.order - Byte order.public ByteBuffer buffer()
public ByteBuffer expand(int size)
public void close()
close in interface AutoCloseable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021