Function zmq_pw::z85_encode [] [src]

pub fn z85_encode(data: &[u8]) -> Result<String, EncodeError>

Encode a binary key as Z85 printable text.

Z85 is an encoding similar to Base64, but operates on 4-byte chunks, which are encoded into 5-byte sequences.

The input slice must have a length divisible by 4.