Structs§
- Preflate
Config - Configuration for the deflate process
- Preflate
Container Processor - Takes a sequence of bytes that may contain deflate streams, find the streams, and emits a new stream that containus the decompressed streams along with the corrections needed to recreate the original.
- Preflate
Error - Standard error returned by Preflate library
- Preflate
Stats - Statistics about the preflate process
- Preflate
Stream Chunk Result - Result of a call to PreflateStreamProcessor::decompress
- Preflate
Stream Processor - Takes a stream of deflate compressed data removes the deflate compression, recording the data that can be used to reconstruct it along with the plain-text.
- Recreate
Container Processor - recreates the orignal content from the chunked data
- Recreate
Stream Processor - recreates the original deflate stream, piece-by-piece
- Zstd
Compress Context - processor that compresses the input using Zstandard
- Zstd
Decompress Context - Processor that decompresses the input using Zstandard
Enums§
Traits§
- Process
Buffer - Processes an input buffer and writes the output to a writer
Functions§
- preflate_
whole_ deflate_ stream - Decompresses a deflate stream and returns the plaintext and diff data that can be used to reconstruct it via recreate_whole_deflate_stream
- preflate_
whole_ into_ container - Scans for multiple deflate streams in an arbitrary binary file, decompresses the streams and returns an uncompressed file that can then be recompressed using a better algorithm. This can then be passed back into recreate_whole_from_container to recreate the exact original file.
- recreate_
whole_ deflate_ stream - recompresses a deflate stream using the cabac_encoded data that was returned from decompress_deflate_stream
- recreate_
whole_ from_ container - Takes the binary output of preflate_whole_into_container and recreates the original file.
- zstd_
preflate_ whole_ deflate_ stream - Expands the Zlib compressed streams in the data and then recompresses the result with Zstd with the given level.
- zstd_
recreate_ whole_ deflate_ stream - Decompresses the Zstd compressed data and then recompresses the result back to the original Zlib compressed streams.