Since: API Level 1
package

java.nio

Classes | Description

Provides buffers that help handling data.

There are buffers for most primitive data types such as FloatBuffer, IntBuffer, etc. These classes provide methods to get and put data from the buffers, to compact, slice or duplicate them, or to wrap an existing array. Buffers also manage the position of the current element in the buffer, they can be rewound to the beginning and allow skipping of elements.