17 releases

0.8.0 Nov 1, 2023
0.7.1 Nov 8, 2021
0.7.0 Feb 4, 2021
0.5.1 Sep 8, 2020
0.2.1 Sep 5, 2018

#49 in Encoding

Download history 203649/week @ 2024-07-10 246072/week @ 2024-07-17 220335/week @ 2024-07-24 222852/week @ 2024-07-31 244033/week @ 2024-08-07 215171/week @ 2024-08-14 241622/week @ 2024-08-21 222443/week @ 2024-08-28 237131/week @ 2024-09-04 221699/week @ 2024-09-11 279609/week @ 2024-09-18 275819/week @ 2024-09-25 312674/week @ 2024-10-02 298038/week @ 2024-10-09 329969/week @ 2024-10-16 311960/week @ 2024-10-23

1,302,325 downloads per month
Used in 1,170 crates (132 directly)

MIT license

29KB
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–5.5MB
~24K SLoC