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

#77 in Encoding

Download history 47986/week @ 2022-12-03 50884/week @ 2022-12-10 43021/week @ 2022-12-17 23819/week @ 2022-12-24 35157/week @ 2022-12-31 46742/week @ 2023-01-07 50075/week @ 2023-01-14 49115/week @ 2023-01-21 52137/week @ 2023-01-28 52613/week @ 2023-02-04 56014/week @ 2023-02-11 52455/week @ 2023-02-18 62802/week @ 2023-02-25 56534/week @ 2023-03-04 65316/week @ 2023-03-11 60989/week @ 2023-03-18

254,859 downloads per month
Used in 677 crates (97 directly)

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–4.5MB
~69K SLoC