14 releases (6 breaking)

0.7.0 Feb 4, 2021
0.5.1 Sep 8, 2020
0.4.0 May 18, 2020
0.3.2 Mar 4, 2020
0.2.1 Sep 5, 2018
Download history 45709/week @ 2021-07-05 39052/week @ 2021-07-12 38977/week @ 2021-07-19 37349/week @ 2021-07-26 44738/week @ 2021-08-02 34542/week @ 2021-08-09 38895/week @ 2021-08-16 46300/week @ 2021-08-23 44135/week @ 2021-08-30 43540/week @ 2021-09-06 49488/week @ 2021-09-13 44813/week @ 2021-09-20 47258/week @ 2021-09-27 45357/week @ 2021-10-04 50541/week @ 2021-10-11 44860/week @ 2021-10-18

147,873 downloads per month
Used in 464 crates (78 directly)

MIT license

26KB
431 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–1MB
~16K SLoC

(`