Crate preflate_rs Copy item path Source unmanaged_api CompressionStats PreflateCompressionContext PreflateError Standard error returned by Preflate library compress_zstd expands the Zlib compressed streams in the data and then recompresses the result
with Zstd with the maximum level. decompress_deflate_stream decompresses a deflate stream and returns the plaintext and cabac_encoded data that can be used to reconstruct it decompress_zstd decompresses the Zstd compressed data and then recompresses the result back
to the original Zlib compressed streams. expand_zlib_chunks scans for deflate streams in a zlib compressed 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 recreated_zlib_chunks to recreate the exact original file. recompress_deflate_stream recompresses a deflate stream using the cabac_encoded data that was returned from decompress_deflate_stream recreated_zlib_chunks takes a binary chunk of data that was created by expand_zlib_chunks and recompresses it back to its
original form. Result