- newPosition
- the new position, must be not negative and not greater than limit.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if newPosition is invalid.
Sets the position of this buffer.
If the mark is set and it is greater than the new position, then it is cleared.