fastvlq

A fast variant of Variable-Length Quantity with a focus on speed and no_std support.

APACHE-2.0 License

Downloads
13.2K
Stars
5
Committers
4

fastvlq

Encode and decode with a variant of variable-length quantity data.

The algorithm uses leading zeros to count how many bytes are required for decoding.

Usage

Add this to your Cargo.toml:

[dependencies]
fastvlq = "1"

Where is this used?

  • box - a modern replacement for the zip file format

License

Licensed under either of

at your option.

Package Rankings
Top 20.72% on Crates.io
Badges
Extracted from project README
Actions Status Documentation