Skip to main content

decode_raw

Function decode_raw 

Source
pub fn decode_raw(b58: &str) -> Result<Vec<u8>, DecodeError>
Expand description

Decode a base58check string, verify the checksum, and return the raw bytes (without the trailing checksum but including any version bytes).

ยงErrors

Returns an error if the input is not valid base58, is too short, or has an invalid checksum.