Crate tectonic_bridge_flate
source ·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
- Outcomes of (de)flate operations.
Functions
- Compress a block of data. This function maps fairly directly onto the
Compress::compress
function provided byflate2
. - Deompress a block of data. This function maps fairly directly onto the
Decompress::decompress
function provided byflate2
. - Decompress some DEFLATEd data.
- Deallocate a DEFLATE decompressor.
- Allocate a new DEFLATE decompressor.