Skip to main content

decode

Function decode 

Source
pub fn decode(data: &str) -> Result<Vec<u8>, InvalidCharacterError>
Expand description

Decodes a base58-encoded string into a byte vector.

ยงErrors

Returns an error if the input contains an invalid base58 character (not in the base58 alphabet).