Crates.io | z85 |
lib.rs | z85 |
version | 3.0.5 |
source | src |
created_at | 2015-05-24 14:55:06.294039 |
updated_at | 2022-04-12 15:26:52.997743 |
description | Rust implementation of ZeroMQ's Z85 encoding mechanism with padding. |
homepage | |
repository | https://github.com/decafbad/z85 |
max_upload_size | |
id | 2187 |
size | 25,204 |
Rust library of Z85, ZEROMQ's binary-to-text encoding mechanism. https://rfc.zeromq.org/spec:32/Z85/
Starting from 3.0 version, this library adds padding support, which makes it not fully compatible with ZeroMQ's RFC.
Here is how padding works: 85^5 is bigger than 2^32, therefore a five-byte Z85 data chunk cannot start with '#'. Count of this char sets how many bytes are missing from the tail chunk.