| Package | Description |
|---|---|
| java.nio |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBuffer
A buffer for bytes.
|
class |
CharBuffer
A buffer of chars.
|
class |
DirectByteBuffer
DirectByteBuffer, DirectReadWriteByteBuffer and DirectReadOnlyHeapByteBuffer compose
the implementation of direct byte buffers.
|
class |
DirectReadWriteByteBuffer
DirectByteBuffer, DirectReadWriteByteBuffer and DirectReadOnlyByteBuffer compose
the implementation of direct byte buffers.
|
class |
DoubleBuffer
A buffer of doubles.
|
class |
FloatBuffer
A buffer of floats.
|
class |
IntBuffer
A buffer of ints.
|
class |
LongBuffer
A buffer of longs.
|
class |
ShortBuffer
A buffer of shorts.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
Buffer.clear()
Clears this buffer.
|
Buffer |
Buffer.flip()
Flips this buffer.
|
Buffer |
Buffer.limit(int newLimit)
Sets the limit of this buffer.
|
Buffer |
Buffer.mark()
Marks the current position, so that the position may return to this point
later by calling
reset(). |
Buffer |
Buffer.position(int newPosition)
Sets the position of this buffer.
|
Buffer |
Buffer.reset()
Resets the position of this buffer to the
mark. |
Buffer |
Buffer.rewind()
Rewinds this buffer.
|
Copyright © 2020 Dmitrii Tikhomirov. All rights reserved.