|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinaryWriteable
Writeable context Common interface for ByteBuffer, byte[], OutputStream, RandomAccessFile.
ByteBufferWriteable
,
OutputStreamWriteable
Method Summary | |
---|---|
void |
flush()
Flush write buffer |
void |
writeFully(java.nio.ByteBuffer src)
Put n bytes from the remaining of the byte array. |
void |
writeFully(java.nio.ByteBuffer src,
int length)
Put n bytes from the remaining of the byte buffer. |
Methods inherited from interface java.io.DataOutput |
---|
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Method Detail |
---|
void writeFully(java.nio.ByteBuffer src) throws java.io.IOException
src
-
java.io.IOException
void writeFully(java.nio.ByteBuffer src, int length) throws java.io.IOException
src
- length
-
java.io.IOException
void flush() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |