code: public String peek(int count) {
  
      int len = this.limit - this.offset;
      if (len > count) {
        len = count;
      }
      String result = new String(this.buffer, this.offset, len);
      return result;
    }
docs: This method peeks the number of {@link #peek() next characters} given by {@code count} and returns them
  as string. If there are less characters {@link #hasNext() available} the returned string will be shorter
  than {@code count} and only contain the available characters. Unlike {@link #read(int)} this method does
  NOT consume the characters and will therefore NOT change the state of this scanner.
  
  @param count is the number of characters to peek. You may use {@link Integer#MAX_VALUE} to peek until the
  end of text (EOT) if the data-size is suitable.
  @return a string with the given number of characters or all available characters if less than
  {@code count}. Will be the empty string if no character is {@link #hasNext() available} at all.
  @since 3.0.0