Add hex2bin prototype