pub fn decode(data: &str) -> Result<Vec<u8>, InvalidCharacterError>
Decodes a base58-encoded string into a byte vector.
Returns an error if the input contains an invalid base58 character (not in the base58 alphabet).