Function coins_core::enc::decode_base58

source ยท
pub fn decode_base58(expected_prefix: u8, s: &str) -> EncodingResult<Vec<u8>>
Expand description

Decodes base58check into a byte string. Returns a EncodingError::Bs58Decode if unsuccesful