|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInByteBuffer
Input buffer interface. This extends the basic byte array buffer interface with methods specifically for input. Client code needs to obey the access rules stated in the method documentation, including the documentation for the base interface methods.
Method Summary | |
---|---|
int |
getLimit()
Get offset past the end of data in buffer. |
boolean |
require(int size)
Require some number of bytes of data. |
Methods inherited from interface org.jibx.runtime.impl.IByteBuffer |
---|
finish, getBuffer, getOffset, setOffset |
Method Detail |
---|
boolean 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 bytes
true
if request satisfied, false
if end
with less than request available
java.io.IOException
int getLimit()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |