Documentation for this section has not yet been entered.
Returns the offset into the array returned by array of the first element of the buffer (optional operation). The backing array (if there is one) is not necessarily the same size as the buffer, and position 0 in the buffer is not necessarily the 0th element in the array. Use buffer.array()[offset + buffer.arrayOffset() to access element offset in buffer.
Use hasArray to ensure this method won't throw. (A separate call to isReadOnly is not necessary.)