Function snarkvm_console_algorithms::environment::prelude::bech32::decode
pub fn decode(s: &str) -> Result<(String, Vec<u5, Global>, Variant), Error>
Expand description
Decode a bech32 string into the raw HRP and the data bytes.
Returns the HRP in lowercase, the data with the checksum removed, and the encoding.