Module stream
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.
Modules
Structs
-
AutoFinishEncoder
A wrapper around an
Encoder<W>that finishes the stream on drop. -
Decoder
A decoder that decompress input data from another
Read. - Encoder An encoder that compress and forward data to another writer.
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.