class Utils {

    public static byte hexCharsToByte(String twoHexDigits) {
        if (twoHexDigits == null || twoHexDigits.length() != 2) {
            throw new IllegalArgumentException("URLDecoder: Illegal hex characters : \"" + twoHexDigits + "\"");
        }
        return hexCharsToByte(twoHexDigits.charAt(0), twoHexDigits.charAt(1));
    }

    private  Utils();

}