uint-zigzag

Crates.iouint-zigzag
lib.rsuint-zigzag
version0.2.1
sourcesrc
created_at2022-08-15 16:59:51.531382
updated_at2022-10-20 00:15:22.746944
descriptionUint is a convenience wrapper for zig-zag encoding integers to byte sequences. This allows better compression since the majority of numbers are quite small resulting in 1 or 2 bytes in the most common case vs 4 for 32-bit numbers or 8 for 64-bit numbers. This also permits the user to not have to think about which integer type is the most efficient to compress.
homepagehttps://github.com/mikelodder7/uint
repositoryhttps://github.com/mikelodder7/uint
max_upload_size
id646038
size29,712
Michael Lodder (mikelodder7)

documentation

https://docs.rs/uint-zigzag

README

Crate Docs Apache 2.0

Uint-ZigZag

Uint-zigzag is a convenience wrapper for zig-zag encoding integers to byte sequences.

This allows better compression since the majority of numbers are quite small resulting in 1 or 2 bytes in the most common case vs 4 for 32-bit numbers or 8 for 64-bit numbers.

This also permits the user to not have to think about which integer type is the most efficient to compress.

This crate is passively maintained.

Commit count: 4

cargo fmt