Module zstd::stream::raw

source ·
Expand description

Raw in-memory stream compression/decompression.

This module defines a Decoder and an Encoder to decode/encode streams of data using buffers.

They are mostly thin wrappers around zstd_safe::{DCtx, CCtx}.

Structs

  • An in-memory decoder for streams of data.
  • An in-memory encoder for streams of data.
  • Wrapper around an input buffer.
  • Dummy operation that just copies its input to the output.
  • Wrapper around an output buffer.
  • Describes the result of an operation.

Enums

Traits

  • Represents an abstract compression/decompression operation.
  • Describe a resizeable bytes container like Vec<u8>.