public interface IoAbsoluteWriter
Modifier and Type | Method and Description |
---|---|
int |
first()
Get the index of the first byte that can be accessed.
|
int |
last()
Gets the index after the last byte that can be accessed.
|
java.nio.ByteOrder |
order()
Gets the order of the bytes.
|
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.void put(int index, IoBuffer bb)
IoBuffer
at the given index.void putShort(int index, short s)
short
at the given index.void putInt(int index, int i)
int
at the given index.void putLong(int index, long l)
long
at the given index.void putFloat(int index, float f)
float
at the given index.void putDouble(int index, double d)
double
at the given index.void putChar(int index, char c)
char
at the given index.Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.