static bool isHexDigit(int c) { return (isDigit(c) || (c >= 97 /*a*/ && c <= 102 /*f*/) || (c >= 65 /*A*/ && c <= 70 /*F*/)); }