Expand description
§snappy_src
Raw Rust bindings to Snappy (https://github.com/google/snappy), a fast compressor/decompressor.
§Bindings
This library includes a pre-generated bindings.rs
file for snappy-c.h
. New bindings can be generated using the bindgen feature:
cargo build --features bindgen
§Licence
snappy_src
is licensed under either of
- the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 or
- the 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, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Constants§
Functions§
- snappy_
compress ⚠ - snappy_
max_ ⚠compressed_ length - snappy_
uncompress ⚠ - snappy_
uncompressed_ ⚠length - snappy_
validate_ ⚠compressed_ buffer