16 stable releases (3 major)
3.0.5 | Apr 12, 2022 |
---|---|
3.0.4 | Oct 27, 2021 |
3.0.3 | Jul 23, 2021 |
3.0.2 | Oct 24, 2020 |
0.1.3 | Jun 9, 2015 |
#157 in Encoding
233,633 downloads per month
Used in 29 crates
(8 directly)
11KB
235 lines
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.
lib.rs
:
Rust implementation of ZeroMQ's Z85 encoding mechanism.