[][src]Module zstd::block

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 independently multiple blocks of data.

Decompressor

Allows to decompress independently multiple blocks of data.

Functions

compress

Compresses a block of data and returns the compressed result.

compress_to_buffer

Compresses a single block of data to the given destination buffer.

decompress

Decompresses a block of data and returns the decompressed result.

decompress_to_buffer

Deompress a single block of data to the given destination buffer.