Trait bs58::FromBase58 [] [src]

pub trait FromBase58 {
    fn from_base58(&self) -> Result<Vec<u8>, FromBase58Error>;
    fn from_base58_with_alphabet(&self,
                             alpha: &[u8; 58])
                             -> Result<Vec<u8>, FromBase58Error>; }

A trait for decoding Base58 encoded values to a vector of bytes.

Required Methods

Decode self to a vector of bytes using the default alphabet.

Decode self to a vector of bytes using the given alphabet.

Implementors