#
lz4
This module is optional. Set option PK_BUILD_MODULE_LZ4
to ON
in your CMakeLists.txt
to enable it.
LZ4 compression and decompression.
#
Source code
def compress(data: bytes) -> bytes:
"""Compress the given data into LZ4 block format.
This function is equivalent to `lz4.block.compress` of https://pypi.org/project/lz4/.
"""
def decompress(data: bytes) -> bytes:
"""Decompress the given LZ4 block format data produced by `lz4.compress()`.
This function is equivalent to `lz4.block.decompress` of https://pypi.org/project/lz4/.
"""