|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IByteBuffer
Input or output buffer interface. It exposes a byte array buffer directly for use by client code, to allow efficient buffering of data without copying. This obviously requires client code to be careful to obey the access rules stated in the method documentation.
Method Summary | |
---|---|
void |
finish()
Complete usage of the buffer. |
byte[] |
getBuffer()
Get the byte array buffer. |
int |
getOffset()
Get the current offset. |
void |
setOffset(int offset)
Set the current offset. |
Method Detail |
---|
byte[] getBuffer()
int getOffset()
setOffset(int)
method must be used to update the current offset before
any other operations are performed on the buffer.
void setOffset(int offset)
offset
- void finish() throws java.io.IOException
java.io.IOException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |