Crate tectonic_bridge_flate

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§

FlateResult
Outcomes of (de)flate operations.

Functions§

tectonic_flate_compress
Compress a block of data. This function maps fairly directly onto the Compress::compress function provided by flate2.
tectonic_flate_decompress
Deompress a block of data. This function maps fairly directly onto the Decompress::decompress function provided by flate2.
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.