public interface IoAbsoluteReader
| Modifier and Type | Method and Description |
|---|---|
byte |
get(int index) |
void |
get(int index,
IoBuffer bb)
Gets enough bytes to fill the
IoBuffer from the given index. |
char |
getChar(int index) |
double |
getDouble(int index) |
float |
getFloat(int index) |
int |
getInt(int index) |
long |
getLong(int index) |
short |
getShort(int index) |
int |
length() |
ByteArray |
slice(int index,
int length)
Creates an array with a view of part of this array.
|
int length()
ByteArray slice(int index, int length)
index - The starting positionlength - The number of bytes to copybyte get(int index)
index - The starting positionbyte from the given index.void get(int index,
IoBuffer bb)
IoBuffer from the given index.index - The starting positionbb - The IoBuffer that will be filled with the bytesshort getShort(int index)
index - The starting positionshort from the given index.int getInt(int index)
index - The starting positionint from the given index.long getLong(int index)
index - The starting positionlong from the given index.float getFloat(int index)
index - The starting positionfloat from the given index.double getDouble(int index)
index - The starting positiondouble from the given index.char getChar(int index)
index - The starting positionchar from the given index.Copyright © 2004–2024 Apache MINA Project. All rights reserved.