Sets this buffer's position. If the mark is defined and larger than the new position then it is discarded.
@param newPosition The new position value; must be non-negative and no larger than the current limit
@return This buffer
@throws IllegalArgumentException If the preconditions on <tt>newPosition</tt> do not hold
See Implementation
Sets this buffer's position. If the mark is defined and larger than the new position then it is discarded.
@param newPosition The new position value; must be non-negative and no larger than the current limit
@return This buffer
@throws IllegalArgumentException If the preconditions on <tt>newPosition</tt> do not hold