#variables #binary #length #integer #codec #binary-encoding #decoder

varbincode

A binary encoder / decoder with variable length integer encoding implementation in Rust

1 unstable release

0.1.0 May 28, 2019

#1664 in Encoding

Download history 727/week @ 2023-12-18 759/week @ 2023-12-25 906/week @ 2024-01-01 1101/week @ 2024-01-08 1584/week @ 2024-01-15 2317/week @ 2024-01-22 1857/week @ 2024-01-29 1298/week @ 2024-02-05 957/week @ 2024-02-12 716/week @ 2024-02-19 687/week @ 2024-02-26 660/week @ 2024-03-04 580/week @ 2024-03-11 724/week @ 2024-03-18 838/week @ 2024-03-25 1003/week @ 2024-04-01

3,241 downloads per month
Used in 2 crates

MIT license

27KB
827 lines

varbincode

varbincode is a binary serialization format that uses variable length encoding for integer values, which typically results in reduced size of the encoded data.

It is losely based on the bincode crate which is offered under an MIT license (same as the wezterm crate from which varbincode originates) and is Copyright 2014 Ty Overby.


lib.rs:

varbincode is a binary serialization format that uses variable length encoding for integer values, which typically results in reduced size of the encoded data.

Dependencies

~225–495KB
~10K SLoC