Expand description
Streaming compression functionality.
Modules§
Structs§
- Callback
Func - Callback function and user used in
compress_to_output
. - Compressor
Oxide - Main compression struct.
Enums§
- Compression
Strategy - Strategy setting for compression.
- TDEFL
Flush - A list of deflate flush types.
- TDEFL
Status - Return status codes.
Functions§
- compress
- Main compression function. Tries to compress as much as possible from
in_buf
and puts compressed output intoout_buf
. - compress_
to_ output - Main compression function. Callbacks output.
- create_
comp_ flags_ from_ zip_ params - Create a set of compression flags using parameters used by zlib and other compressors. Mainly intented for use with transition from c libraries as it deals with raw integers.