#varint #unsigned

unsigned-varint

unsigned varint encoding

4 releases

✓ Uses Rust 2018 edition

0.2.2 Jan 31, 2019
0.2.1 Sep 5, 2018
0.2.0 Sep 3, 2018
0.1.0 Aug 8, 2018
Download history 645/week @ 2018-12-20 506/week @ 2018-12-27 1281/week @ 2019-01-03 1110/week @ 2019-01-10 945/week @ 2019-01-17 1126/week @ 2019-01-24 938/week @ 2019-01-31 946/week @ 2019-02-07 1191/week @ 2019-02-14 1271/week @ 2019-02-21 1179/week @ 2019-02-28 1008/week @ 2019-03-07 1225/week @ 2019-03-14 1455/week @ 2019-03-21 1408/week @ 2019-03-28

4,926 downloads per month
Used in 29 crates (12 directly)

MIT license

16KB
255 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

~270KB