pub fn decode_full_bytes_str(zbase32: &str) -> Result<Vec<u8>, &'static str>
Expand description

Decode given zbase32 encoded string

Just like decode_str but doesn’t allow decoding with bit precision.

Examples

use zbase32;

assert_eq!(zbase32::decode_full_bytes_str("qb1ze3m1").unwrap(), b"peter");