public interface IByteBuffer
Modifier and Type | Method and Description |
---|---|
void |
finish()
Complete usage of the buffer.
|
byte[] |
getBuffer()
Get the byte array buffer.
|
int |
getOffset()
Get the current offset.
|
void |
setOffset(int offset)
Set the current offset.
|
byte[] getBuffer()
int getOffset()
setOffset(int)
method must be used to update the current offset before
any other operations are performed on the buffer.void setOffset(int offset)
offset
- void finish() throws java.io.IOException
java.io.IOException