Skip to main content

hex_decode

Function hex_decode 

Source
pub fn hex_decode(input: &[u8], out: &mut [u8]) -> Result<()>
Expand description

Decode a hex string into out, accepting either case.

out must be exactly input.len() / 2 bytes.