Expand description
Compression for the bytes inside an EncodedContent envelope.
Structs§
- Decompression
Budget - Total decompressed bytes allowed while decoding one message and its nested content.
Constants§
Functions§
- compress
- Compresses content with a wire-compatible zlib or gzip frame.
- compress_
if_ requested - Leaves content unchanged when the caller does not request compression.
- decompress
- Decompresses before a caller selects a content codec.
- decompress_
with_ budget - Decompresses one envelope and charges its output to a shared message budget.