Added Methods |
ByteBuffer asByteBuffer(int, int)
|
Expose a subsequence of this buffer's bytes as a ByteBuffer. |
int capacity()
|
Return the number of bytes that this buffer can contain. |
DataBuffer capacity(int )
|
Sets the number of bytes that this buffer can contain. |
int readPosition()
|
Return the position from which this buffer will read. |
DataBuffer readPosition(int )
|
Set the position from which this buffer will read. |
int writableByteCount()
|
Return the number of bytes that can be written to this data buffer. |
int writePosition()
|
Return the position to which this buffer will write. |
DataBuffer writePosition(int )
|
Set the position to which this buffer will write. |