internal static bool IsHexDigit(char c) { return Scanner.IsDigit(c) || 'A' <= c && c <= 'F' || 'a' <= c && c <= 'f'; }