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