Skip to main content

hex_decode

Function hex_decode 

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

Decode a hex string into raw bytes. Accepts upper or lower case.

Returns None if the input is not valid hex.