public interface IOutByteBuffer extends IByteBuffer
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Empty the buffer.
|
void |
free(int reserve,
int size)
Free at least some number of bytes of space in the byte array.
|
finish, getBuffer, getOffset, setOffsetvoid free(int reserve,
int size)
throws IOException
IByteBuffer.getBuffer() and IByteBuffer.getOffset() must always be called
again before any further use of the buffer.reserve - offset of data to be preserved in buffer (nothing
preserved if greater than or equal to current offset)size - desired number of bytesIOException - If errorvoid flush()
throws IOException
IByteBuffer.getOffset() must always be called again before any
further use of the buffer.IOException - If errorCopyright © 2005–2016 jibx.org. All rights reserved.