pub fn decode<T: AsRef<str>>(input: T) -> Result<(Base, Vec<u8>)>
Decode the base string.
use multibase::{Base, decode}; assert_eq!( decode("zCn8eVZg").unwrap(), (Base::Base58Btc, b"hello".to_vec()) );