# fastvlq [![Actions Status](https://github.com/bbqsrc/fastvlq/workflows/CI/badge.svg)](https://github.com/bbqsrc/fastvlq/actions) [![Documentation](https://docs.rs/fastvlq/badge.svg)](https://docs.rs/fastvlq) Encode and decode with a variant of [variable-length quantity](https://en.wikipedia.org/wiki/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`: ```toml [dependencies] fastvlq = "1" ``` ## Where is this used? * [box](https://github.com/bbqsrc/box) - a modern replacement for the zip file format ## License Licensed under either of * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option.