basicCodePointToDigit

private fnint basicCodePointToDigit(dchar c) @safe nothrow @nogc

Convert a basic code point to its digit value (Punycode), or -1.

Parameters

cASCII code point to decode.

Returns

The digit value in 0..35, or -1 if c is not a valid digit.