|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOutByteBuffer
Output buffer interface. This extends the basic byte array buffer interface with methods specifically for output. Client code needs to obey the access rules stated in the method documentation, including the documentation for the base interface methods.
Method Summary | |
---|---|
void |
flush()
Empty the buffer. |
void |
free(int reserve,
int size)
Free at least some number of bytes of space in the byte array. |
Methods inherited from interface org.jibx.runtime.impl.IByteBuffer |
---|
finish, getBuffer, getOffset, setOffset |
Method Detail |
---|
void 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 bytes
java.io.IOException
void flush() throws java.io.IOException
IByteBuffer.getOffset()
must always be called again before any
further use of the buffer.
java.io.IOException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |