[][src]Function bech32_no_std::decode

pub fn decode(s: &str) -> Result<(String, Vec<u5>), Error>

Decode a bech32 string into the raw HRP and the data bytes.

Returns the HRP in lowercase..