Calculates the compression ratio.
Compresses a byte slice using the specified format and compression level.
Compresses raw Deflate data.
Compresses data in chunks for streaming use cases.
Compresses a string using gzip and the specified compression level.
Compresses a serializable Rust struct.
Compresses data with a specified buffer size.
Decompresses a byte slice using the specified format.
Decompresses raw Deflate data.
Decompresses data in chunks for streaming use cases.
Decompresses a byte slice into a Rust struct.
Decompresses gzip-compressed data into a string.