Skip to main content

hex_decode

Function hex_decode 

Source
pub fn hex_decode(s: &str) -> Option<Vec<u8>>
Expand description

Hex string → bytes. Accepts either case and surrounding whitespace; None for odd length or a non-hex character.