Skip to main content

decode

Function decode 

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

Decode a hex string into bytes.

Fail-closed: None on odd length or any non-hex character — callers treat an undecodable field as an unverifiable artifact, never a partial one.