isHexLiteral

private fnbool isHexLiteral(String)(scope const String hexData) @safe pure @nogc

Check the correctness of a string for hexString. The result is true if and only if the input string is composed of whitespace characters (\f\n\r\t\v lineSep paraSep nelSep) and an even number of hexadecimal digits (regardless of the case).