pub fn hex2bin(s: &[u8]) -> Option<Vec<u8>>
PHP hex2bin: None (PHP’s false, with a warning) for an odd length or a non-hexadecimal character.
hex2bin
None
false