Skip to main content

decode

Function decode 

Source
pub fn decode(input: &[u8]) -> Result<Vec<u8>, DecodeError>
Expand description

Decode ASCIIHex-encoded data.

  • Pairs of hexadecimal digits decode to bytes.
  • > marks end of data.
  • Whitespace is ignored.
  • An odd trailing nibble is zero-padded on the right (e.g., A0xA0).