IByteBufferInByteBufferpublic interface IInByteBuffer extends IByteBuffer
| Modifier and Type | Method | Description |
|---|---|---|
int |
getLimit() |
Get offset past the end of data in buffer.
|
boolean |
require(int size) |
Require some number of bytes of data.
|
finish, getBuffer, getOffset, setOffsetboolean require(int size)
throws java.io.IOException
IByteBuffer.getBuffer(),
getLimit(), and IByteBuffer.getOffset() must all be called again
before any further use of the buffer.size - desired number of bytestrue if request satisfied, false if end
with less than request availablejava.io.IOExceptionint getLimit()