#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

#1941 in Encoding

Download history 615/week @ 2024-03-14 869/week @ 2024-03-21 710/week @ 2024-03-28 1050/week @ 2024-04-04 704/week @ 2024-04-11 606/week @ 2024-04-18 693/week @ 2024-04-25 1830/week @ 2024-05-02 1454/week @ 2024-05-09 896/week @ 2024-05-16 739/week @ 2024-05-23 724/week @ 2024-05-30 849/week @ 2024-06-06 953/week @ 2024-06-13 667/week @ 2024-06-20 520/week @ 2024-06-27

3,070 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

~220–495KB
~10K SLoC