Modifier and Type |
Method and Description |
CharBuffer |
asCharBuffer() |
DoubleBuffer |
asDoubleBuffer() |
FloatBuffer |
asFloatBuffer() |
IntBuffer |
asIntBuffer() |
LongBuffer |
asLongBuffer() |
ByteBuffer |
asReadOnlyBuffer() |
ShortBuffer |
asShortBuffer() |
ByteBuffer |
compact() |
ByteBuffer |
duplicate() |
byte |
get() |
ByteBuffer |
get(byte[] dst) |
byte |
get(int index) |
char |
getChar() |
char |
getChar(int index) |
double |
getDouble() |
double |
getDouble(int index) |
float |
getFloat() |
float |
getFloat(int index) |
int |
getInt() |
int |
getInt(int index) |
long |
getLong() |
long |
getLong(int index) |
short |
getShort() |
short |
getShort(int index) |
boolean |
isDirect() |
boolean |
isReadOnly() |
ByteOrder |
order() |
ByteBuffer |
order(ByteOrder bo) |
long |
position() |
Buffer |
position(long newPosition) |
ByteBuffer |
put(byte b) |
ByteBuffer |
put(int index,
byte b) |
ByteBuffer |
putChar(char value) |
ByteBuffer |
putChar(int index,
char value) |
ByteBuffer |
putDouble(double value) |
ByteBuffer |
putDouble(int index,
double value) |
ByteBuffer |
putFloat(float value) |
ByteBuffer |
putFloat(int index,
float value) |
ByteBuffer |
putInt(int value) |
ByteBuffer |
putInt(int index,
int value) |
ByteBuffer |
putLong(int index,
long value) |
ByteBuffer |
putLong(long value) |
ByteBuffer |
putShort(int index,
short value) |
ByteBuffer |
putShort(short value) |
ByteBuffer |
slice() |