Function encode

Source
pub fn encode<S, D>(hrp: S, data: D) -> String
where S: AsRef<str>, D: AsRef<[u8]>,
Expand description

Encode the given data as lower-case Bech32, returning a String