Documentation for this section has not yet been entered.
Type Reason Java.Nio.ReadOnlyBufferException if this buffer is based on a read-only array. Java.Lang.UnsupportedOperationException if this buffer is not based on an array.
Returns the offset of the byte array which this buffer is based on, if there is one.
The offset is the index of the array which corresponds to the zero position of the buffer.