public interface IBinaryWriteable
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
flush.
|
ByteOrder |
order()
order.
|
void |
order(ByteOrder order)
order.
|
void |
put(byte b)
put.
|
void |
put(byte[] src)
put.
|
void |
put(byte[] src,
int offset,
int length)
put.
|
void |
put(ByteBuffer src)
Put n bytes from the remaining of the byte array.
|
void |
put(ByteBuffer src,
int length)
Put n bytes from the remaining of the byte buffer.
|
void |
putDouble(double value)
putDouble.
|
void |
putFloat(float value)
putFloat.
|
void |
putInt(int value)
putInt.
|
void |
putLong(long value)
putLong.
|
void |
putShort(short value)
putShort.
|
void flush()
throws IOException
flush.
IOException - if any.void order(ByteOrder order) throws IOException
order.
order - a ByteOrder object.IOException - if any.void put(byte b) throws IOException
put.
b - a byte.IOException - if any.void put(byte[] src) throws IOException
put.
src - an array of byte.IOException - if any.void put(byte[] src,
int offset,
int length)
throws IOException
put.
src - an array of byte.offset - a int.length - a int.IOException - if any.void put(ByteBuffer src) throws IOException
src - a ByteBuffer object.IOException - if any.void put(ByteBuffer src, int length) throws IOException
src - a ByteBuffer object.length - a int.IOException - if any.void putDouble(double value)
throws IOException
putDouble.
value - a double.IOException - if any.void putFloat(float value)
throws IOException
putFloat.
value - a float.IOException - if any.void putInt(int value)
throws IOException
putInt.
value - a int.IOException - if any.void putLong(long value)
throws IOException
putLong.
value - a long.IOException - if any.void putShort(short value)
throws IOException
putShort.
value - a short.IOException - if any.Copyright © 2026. All rights reserved.