Function zbase32::encode_full_bytes [] [src]

pub fn encode_full_bytes(data: &[u8]) -> String

Encode full bytes using zbase32.

Just like encode but doesn't allow encoding with bit precision.

use zbase32;

let data = "Just an arbitrary sentence.";
assert_eq!(zbase32::encode_full_bytes(data.as_bytes()),
           "jj4zg7bycfznyam1cjwzehubqjh1yh5fp34gk5udcwzy");