dissect.database.ese.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.database.ese.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.database.ese.compression.decompress_size(buf: bytes) int | None¶
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).