Enums§
Functions§
- compress
- Compresses data using the specified compression algorithm
- decompress
- Decompresses data that was compressed with the specified algorithm
- maybe_
compress - Compress data if it meets the configured threshold, otherwise return it unchanged. Returns the output bytes and a flag indicating whether compression was applied.
- maybe_
decompress - Decompress data only if it was previously compressed; otherwise return as-is.