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

varbincode

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

1 unstable release

0.1.0 May 28, 2019

#1705 in Encoding

Download history 1191/week @ 2023-11-29 791/week @ 2023-12-06 739/week @ 2023-12-13 725/week @ 2023-12-20 770/week @ 2023-12-27 1041/week @ 2024-01-03 986/week @ 2024-01-10 2095/week @ 2024-01-17 2070/week @ 2024-01-24 1850/week @ 2024-01-31 1108/week @ 2024-02-07 832/week @ 2024-02-14 749/week @ 2024-02-21 709/week @ 2024-02-28 612/week @ 2024-03-06 585/week @ 2024-03-13

2,752 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–500KB
~10K SLoC