public interface IInByteBuffer extends IByteBuffer
| Modifier and Type | Method and 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 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 availableIOException - If errorint getLimit()
Copyright © 2005–2016 jibx.org. All rights reserved.