pub fn encode(bytes: &[u8]) -> StringExpand description
Encodes bytes using RFC 4648 base32 (alphabet A–Z, 2–7), without padding.
Returns an empty string when bytes is empty.
§Examples
use modo::encoding::base32;
assert_eq!(base32::encode(b"foobar"), "MZXW6YTBOI");
assert_eq!(base32::encode(b""), "");