Expand description
Compress and decompress Zstd streams.
Zstd streams are the main way to compress and decompress data.
They are compatible with the zstd command-line tool.
This module provides both Read and Write interfaces to compressing and
decompressing.
Re-exports§
pub use self::read::Decoder;pub use self::write::AutoFinishEncoder;pub use self::write::Encoder;
Modules§
- raw
- Raw in-memory stream compression/decompression.
- read
- Implement pull-based
Readtrait for both compressing and decompressing. - write
- Implement push-based
Writetrait for both compressing and decompressing. - zio
- Wrappers around raw operations implementing
std::io::{Read, Write}.
Functions§
- copy_
decode - Decompress from the given source as if using a
Decoder. - copy_
encode - Compress all data from the given source as if using an
Encoder. - decode_
all - Decompress from the given source as if using a
Decoder. - encode_
all - Compress all data from the given source as if using an
Encoder.