escapeHexLength
fn
uint escapeHexLength(dchar hexCode) @safe pure nothrow @nogcGet the length of a hexadecimal number determined by its hex code.
Need a function as associative arrays don't work with @nogc. (And this may be even faster with a function.)