dissect.esedb.compression
#
Module Contents#
Functions#
Decompress the given bytes according to the encoded compression scheme. |
|
Return the decompressed size of the given bytes according to the encoded compression scheme. |
- dissect.esedb.compression.decompress(buf: bytes) bytes #
Decompress the given bytes according to the encoded compression scheme.
- Parameters:
buf – The compressed bytes to decompress.
- Raises:
NotImplementedError – If the buffer is compressed with an unsupported compression algorithm (XPRESS9/XPRESS10).
- dissect.esedb.compression.decompress_size(buf: bytes) Optional[int] #
Return the decompressed size of the given bytes according to the encoded compression scheme.
- Parameters:
buf – The compressed bytes to return the decompressed size of.
- Raises:
NotImplementedError – If the buffer is compressed with an unsupported compression algorithm (XPRESS9/XPRESS10).