Function base32768::decode
[−]
[src]
pub fn decode(in_str: &str, out_vec: &mut Vec<u8>) -> Result<(), Base32768Error>
Decodes a UTF String into a slice of binary data
Examples
let data = "䩲腻㐿"; let mut decoded = Vec::<u8>::new(); base32768::decode(&data, &mut decoded).unwrap(); println!("Decoded message: {}", String::from_utf8(decoded).unwrap());