public static byte[] decode(char[] hexChars) {
        return decode(hexChars, 0, hexChars.length);
    }
Decode an array of hex chars

@param hexChars an array of hex characters.
@return the decode hex chars as bytes.
tika-core/src/main/java/org/apache/tika/mime/HexCoDec.java