pub fn decode<S>(encoded: S) -> Result<(String, Vec<u8>), Error>
Expand description
Decode the given data from lower-case Bech32, returning a 2-tuple of the
“human readable part” of the message as a String
and a Vec<u8>
of data,
or an Error
if decoding failed.