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.
Add this to your Cargo.toml
:
[dependencies]
fastvlq = "1"
- box - a modern replacement for the zip file format
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.