Module compression

Source

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