[go: up one dir, main page]

Module zstd::block [] [src]

Methods to compress and decompress individual blocks.

Functions

compress

Compress a block of data, and return the compressed result in a Vec<u8>.

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 Vec<u8>.

decompress_to_buffer

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