public CharBuffer skipWhitespace() {
    while (this.hasMore() && Character.isWhitespace(this.peek())) this.advance();
    return this;
  }
If the next non-whitespace character is {@code token}, advance past it.

<p>This method always consumes whitespace.</p>

@param token next non-whitespace character to query
@return if the next non-whitespace character is {@code token}
nbt/src/main/java/net/kyori/adventure/nbt/CharBuffer.java