CfParser.checkCodepoint
private
void checkCodepoint(dchar cp, string hex) static @safe pureValidates a codepoint from a \u/\U escape.
Parameters
cp | The decoded codepoint |
hex | The original hex digits, for the error message |
Throws
CfParseException if the codepoint is a surrogate or beyond U+10FFFF.