Module zstd::block
[−]
[src]
Methods to compress and decompress individual blocks.
These methods process all the input data at once. It is therefore best used with relatively small blocks (like small network packets).
Structs
| Compressor |
Allows to compress multiple blocks of data, re-using the context. |
| Decompressor |
Allows to decompress multiple blocks of data, re-using the context. |
Functions
| compress |
Compress a block of data, and return the compressed result in a |
| compress_to_buffer |
Compress a single block of data to the given destination buffer. |
| decompress |
Decompress a block of data, and return the decompressed result in a |
| decompress_to_buffer |
Deompress a single block of data to the given destination buffer. |