Skip to main content

Module compression

Module compression 

Source
Expand description

Bounded decompression into a caller-reused result buffer. This convenience API accepts a complete encoded body; wire body streaming is exposed by the codecs.

Structs§

DecodeStep
A single incremental decode step. Retain input after consumed, and consume output before calling again. No internal input/output staging allocation.
StreamingDecoder

Functions§

decode
Convenience whole-body decode. Cache StreamingDecoder and use reset for allocation-free repeated responses instead of constructing one per call.