Skip to main content

decode_hex

Function decode_hex 

Source
pub fn decode_hex(s: &str) -> Result<Vec<u8>, Diag>
Expand description

Strictly decode hex text. Whitespace and : separate tokens; each token may carry a 0x prefix and must have an even number of digits.