code: public final LogBuffer position(final int newPosition) {
          if (newPosition > limit || newPosition < 0) throw new IllegalArgumentException("limit excceed: " + newPosition);
  
          this.position = origin + newPosition;
          return this;
      }
docs: Sets this buffer's position. If the mark is defined and larger than the
  new position then it is discarded. </p>
  
  @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