Sets the current position of this buffer to the given value. If the buffer mark
value is defined and is larger than the newly set position is must be discarded.
@param position
The new position to set for this buffer.
@return a reference to this {@link ReadableBuffer}.
@throws IllegalArgumentException if the position value is negative or greater than the limit.
Sets the current position of this buffer to the given value. If the buffer mark value is defined and is larger than the newly set position is must be discarded.
@param position The new position to set for this buffer.
@return a reference to this {@link ReadableBuffer}.
@throws IllegalArgumentException if the position value is negative or greater than the limit.