public interface IoAbsoluteWriter
限定符和类型 | 方法和说明 |
---|---|
int |
first() |
int |
last() |
java.nio.ByteOrder |
order() |
void |
put(int index,
byte b)
Puts a
byte at the given index. |
void |
put(int index,
IoBuffer bb)
Puts bytes from the
IoBuffer at the given index. |
void |
putChar(int index,
char c)
Puts a
char at the given index. |
void |
putDouble(int index,
double d)
Puts a
double at the given index. |
void |
putFloat(int index,
float f)
Puts a
float at the given index. |
void |
putInt(int index,
int i)
Puts an
int at the given index. |
void |
putLong(int index,
long l)
Puts a
long at the given index. |
void |
putShort(int index,
short s)
Puts a
short at the given index. |
int first()
int last()
java.nio.ByteOrder order()
void put(int index, byte b)
byte
at the given index.index
- The positionb
- The byte to putvoid put(int index, IoBuffer bb)
IoBuffer
at the given index.index
- The positionbb
- The bytes to putvoid putShort(int index, short s)
short
at the given index.index
- The positions
- The short to putvoid putInt(int index, int i)
int
at the given index.index
- The positioni
- The int to putvoid putLong(int index, long l)
long
at the given index.index
- The positionl
- The long to putvoid putFloat(int index, float f)
float
at the given index.index
- The positionf
- The float to putvoid putDouble(int index, double d)
double
at the given index.index
- The positiond
- The doubvle to putvoid putChar(int index, char c)
char
at the given index.index
- The positionc
- The char to put