| Classes | |
|---|---|
| Buffer | A buffer is a list of elements of a specific primitive type. |
| ByteBuffer | A buffer of bytes. |
| ByteOrder | Holds byte order constants. |
| CharBuffer | A buffer of chars. |
| DoubleBuffer | A buffer of doubles. |
| FloatBuffer | A buffer of floats. |
| IntBuffer | A buffer of ints. |
| LongBuffer | A buffer of longs. |
| MappedByteBuffer | MappedByteBuffer is a special kind of direct byte buffer,
which maps a region of file to memory. |
| ShortBuffer | A buffer of shorts. |
| Exceptions | |
|---|---|
| BufferOverflowException | A BufferOverflowException is thrown when you try to write
elements to a buffer, but there is not enough remaining space in the buffer. |
| BufferUnderflowException | A BufferUnderflowException is thrown when you try to read
elements from a buffer, but there is not enough remaining elements in the
buffer. |
| InvalidMarkException | A InvalidMarkException is thrown when reset()
is called on a buffer, but there is no mark set previously. |
| ReadOnlyBufferException | A ReadOnlyBufferException is thrown when some write operation
is called on a readonly buffer. |