IByteBufferOutByteBufferpublic interface IOutByteBuffer extends IByteBuffer
| Modifier and Type | Method | 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 java.io.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 bytesjava.io.IOExceptionvoid flush()
throws java.io.IOException
IByteBuffer.getOffset() must always be called again before any
further use of the buffer.java.io.IOException