Skip to main content

decode

Function decode 

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

Decode ASCII85 (base-85) encoded data.

  • Groups of 5 ASCII characters in the range ! (33) to u (117) decode to 4 binary bytes.
  • The character z is a shortcut for 4 zero bytes.
  • The end-of-data marker is ~>.
  • Whitespace is ignored.