15 releases

0.7.1 Nov 8, 2021
0.7.0 Feb 4, 2021
0.6.0 Jan 12, 2021
0.5.1 Sep 8, 2020
0.2.1 Sep 5, 2018
Download history 54131/week @ 2022-03-11 53733/week @ 2022-03-18 48927/week @ 2022-03-25 54531/week @ 2022-04-01 55684/week @ 2022-04-08 52567/week @ 2022-04-15 56791/week @ 2022-04-22 48214/week @ 2022-04-29 50355/week @ 2022-05-06 49659/week @ 2022-05-13 46559/week @ 2022-05-20 41499/week @ 2022-05-27 42981/week @ 2022-06-03 45662/week @ 2022-06-10 45314/week @ 2022-06-17 32716/week @ 2022-06-24

174,217 downloads per month
Used in fewer than 87 crates

MIT license

28KB
456 lines

unsigned-varint encoding

Unsigned varint encodes unsigned integers in 7-bit groups. The most significant bit (MSB) in each byte indicates if another byte follows (MSB = 1), or not (MSB = 0).

For details see: https://github.com/multiformats/unsigned-varint


lib.rs:

Unsigned varint encodes unsigned integers in 7-bit groups. The most significant bit (MSB) in each byte indicates if another byte follows (MSB = 1), or not (MSB = 0).

Dependencies

~0–0.8MB
~13K SLoC