Expand description
This crate provides a few extern “C” functions that expose the functionality of the flate2 crate in a C API that can be consumed by other C/C++ code in the Tectonic codebase.
If you change the interfaces here, rerun cbindgen as described in the README!
Re-exports§
pub use flate2;
Enums§
- Flate
Result - Outcomes of (de)flate operations.
Functions§
- tectonic_
flate_ ⚠compress - Compress a block of data. This function maps fairly directly onto the
Compress::compressfunction provided byflate2. - tectonic_
flate_ ⚠decompress - Deompress a block of data. This function maps fairly directly onto the
Decompress::decompressfunction provided byflate2. - tectonic_
flate_ ⚠decompress_ chunk - Decompress some DEFLATEd data.
- tectonic_
flate_ ⚠free_ decompressor - Deallocate a DEFLATE decompressor.
- tectonic_
flate_ ⚠new_ decompressor - Allocate a new DEFLATE decompressor.