A Rust implementation of the varint codec as used in Google's Protocol
Buffers. Adds read_*
/write_*
methods for various sizes of varints
on top of the standard IO traits.
This project uses clippy and denies warnings in CI builds. To ensure your
changes will be accepted please check them with cargo clippy
(available via
cargo install clippy
on nightly rust) before submitting a pull request (along
with cargo test
as usual).
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.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.