hex2bin should check this for you