:py:mod:`dissect.esedb.compression` =================================== .. py:module:: dissect.esedb.compression Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: dissect.esedb.compression.decompress dissect.esedb.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) -> Optional[int] 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).