private int extractRadix(final StringBuilder builder, final String original) {
    int radixPrefixOffset = 0;
    final int radix;
    final char first = builder.charAt(0);
    if (first == '+' || first == '-') {
      radixPrefixOffset = 1;
    }
    if (original.startsWith("0b", radixPrefixOffset) || original.startsWith("0B", radixPrefixOffset)) {
      radix = BINARY_RADIX;
    } else if (original.startsWith("0x", radixPrefixOffset) || original.startsWith("0X", radixPrefixOffset)) {
      radix = HEX_RADIX;
    } else {
      radix = DECIMAL_RADIX;
    }
    if (radix != DECIMAL_RADIX) {
      builder.delete(radixPrefixOffset, 2 + radixPrefixOffset);
    }
    return radix;
  }
A tag that is definitely some sort of scalar.

<p>Does not detect quoted strings, so those should have been parsed already.</p>

@return a parsed tag
nbt/src/main/java/net/kyori/adventure/nbt/TagStringReader.java