lz4.pyi 417 B

1234567891011
  1. def compress(data: bytes) -> bytes:
  2. """Compress the given data into LZ4 block format.
  3. This function is equivalent to `lz4.block.compress` of https://pypi.org/project/lz4/.
  4. """
  5. def decompress(data: bytes) -> bytes:
  6. """Decompress the given LZ4 block format data produced by `lz4.compress()`.
  7. This function is equivalent to `lz4.block.decompress` of https://pypi.org/project/lz4/.
  8. """