Crate zstd_safe

source ·
Expand description

Minimal safe wrapper around zstd-sys.

This crates provides a minimal translation of the zstd-sys methods. For a more comfortable high-level library, see the zstd crate.

Most of the functions here map 1-for-1 to a function from the C zstd library mentioned in their descriptions. Check the source documentation for more information on their behaviour.

Features denoted as experimental in the C library are hidden behind an experimental feature.

Re-exports§

  • pub use zstd_sys;

Structs§

  • Compression dictionary.
  • A Decompression Context.
  • A digested decompression dictionary.
  • Wrapper around an input buffer.
  • Wrapper around an output buffer.

Enums§

Constants§

Traits§

  • Describe a resizeable bytes container like Vec<u8>.

Functions§

Type Aliases§