If this buffer is backed by an array then buffer position p corresponds to array index p + arrayOffset().
Invoke the {@link #hasArray hasArray} method before invoking thismethod in order to ensure that this buffer has an accessible backing array.
@return The offset within this buffer's arrayof the first element of the buffer @throws ReadOnlyBufferException If this buffer is backed by an array but is read-only @throws UnsupportedOperationException If this buffer is not backed by an accessible array @since 1.6The offset is the index of the array corresponds to the zero position of the buffer.
@return The offset of the byte array which this buffer is based on @exception ReadOnlyBufferException If this buffer is based on a readonly array @exception UnsupportedOperationException If this buffer is not based on an arrayThe offset is the index of the array corresponds to the zero position of the buffer.
@return The offset of the char array which this buffer is based on @exception ReadOnlyBufferException If this buffer is based on an array, but it is readonly @exception UnsupportedOperationException If this buffer is not based on an array
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|