Modifier and Type | Class and Description |
---|---|
class |
ByteBuffer
a byte buffer.
|
class |
CharBuffer
a char buffer.
|
class |
DoubleBuffer
a double buffer.
|
class |
FloatBuffer
a float buffer.
|
class |
IntBuffer
an int buffer.
|
class |
LongBuffer
a long buffer.
|
class |
ShortBuffer
a short buffer.
|
Modifier and Type | Method and Description |
---|---|
Buffer |
Buffer.clear()
Clears this buffer.
|
Buffer |
Buffer.flip()
Flips this buffer.
|
Buffer |
Buffer.limit(int newLimit)
Sets this buffer's limit.
|
Buffer |
Buffer.mark()
Sets this buffer's mark at its position.
|
Buffer |
Buffer.position(int newPosition)
Sets this buffer's position.
|
Buffer |
Buffer.reset()
Resets this buffer's position to the previously-marked position.
|
Buffer |
Buffer.rewind()
Rewinds this buffer.
|