Function coins_core::enc::bases::decode_base58
source · [−]pub fn decode_base58(expected_version: u8, s: &str) -> EncodingResult<Vec<u8>>
Expand description
Decodes base58check into a byte string. Returns a FromBase58CheckError
if the checksum or
encoding is wrong. Returns a WrongVersion
if it decodes an unexpected version.