Skip to main content

hex_decode

Function hex_decode 

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

Decode a lowercase hexadecimal string into bytes.

§Panics

Panics if s has odd length or contains non-hex characters.