Crate snappy_src

Source
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

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§

snappy_status_SNAPPY_BUFFER_TOO_SMALL
snappy_status_SNAPPY_INVALID_INPUT
snappy_status_SNAPPY_OK

Functions§

snappy_compress
snappy_max_compressed_length
snappy_uncompress
snappy_uncompressed_length
snappy_validate_compressed_buffer

Type Aliases§

snappy_status