Skip to main content

Module compression

Module compression 

Source

Structsยง

CompressionContext
Additional context that may be needed for compression.
DecompressionContext
Additional context that may be needed for decompression.

Enumsยง

CompressionCodec
Represents compressing a ipc stream using a particular compression algorithm

Constantsยง

LENGTH_NO_COMPRESSED_DATA ๐Ÿ”’
LENGTH_OF_PREFIX_DATA ๐Ÿ”’

Functionsยง

compress_lz4 ๐Ÿ”’
compress_zstd ๐Ÿ”’
decompress_lz4 ๐Ÿ”’
decompress_zstd ๐Ÿ”’
read_uncompressed_size ๐Ÿ”’
Get the uncompressed length Notes: LENGTH_NO_COMPRESSED_DATA: indicate that the data that follows is not compressed 0: indicate that there is no data positive number: indicate the uncompressed length for the following data