:py:mod:`dissect.database.ese.compression` ========================================== .. py:module:: dissect.database.ese.compression Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: dissect.database.ese.compression.decompress dissect.database.ese.compression.decompress_size .. py:function:: decompress(buf: bytes) -> bytes Decompress the given bytes according to the encoded compression scheme. :param buf: The compressed bytes to decompress. :raises NotImplementedError: If the buffer is compressed with an unsupported compression algorithm (XPRESS9/XPRESS10). .. py:function:: decompress_size(buf: bytes) -> int | None Return the decompressed size of the given bytes according to the encoded compression scheme. :param buf: The compressed bytes to return the decompressed size of. :raises NotImplementedError: If the buffer is compressed with an unsupported compression algorithm (XPRESS9/XPRESS10).