Function decode

Source
pub fn decode(s: &str, v: u8) -> Result<Vec<u8>, Error>
Expand description

When decoded, resulting data is checked against the version byte as its prefix.

Note that the prefix is still the part of the result.