Skip to main content

hex2bin

Function hex2bin 

Source
pub fn hex2bin(s: &[u8]) -> Option<Vec<u8>>
Expand description

PHP hex2bin: None (PHP’s false, with a warning) for an odd length or a non-hexadecimal character.