dissect.database.ese.util

Module Contents

Classes

Functions

decode_bit

Decode a bit into a boolean.

decode_text

Decode text with the appropriate encoding.

decode_guid

Decode a GUID.

checksum_xor

Attributes

dissect.database.ese.util.CODEPAGE_MAP
type dissect.database.ese.util.RecordValue = int | float | str | bytes | datetime.datetime | None
dissect.database.ese.util.decode_bit(buf: bytes) bool

Decode a bit into a boolean.

Parameters:

buf – The buffer to decode from.

dissect.database.ese.util.decode_text(buf: bytes, encoding: dissect.database.ese.c_ese.CODEPAGE, errors: str | None = 'backslashreplace') str

Decode text with the appropriate encoding.

Parameters:

buf – The buffer to decode from.

dissect.database.ese.util.decode_guid(buf: bytes) str

Decode a GUID.

Parameters:

buf – The buffer to decode from.

dissect.database.ese.util.checksum_xor(data: bytes, initial: int = 2309737967) int
class dissect.database.ese.util.ColumnType

Bases: NamedTuple

value: dissect.database.ese.c_ese.JET_coltyp
name: str
size: int | None
parse: collections.abc.Callable[[bytes], Any] | None
dissect.database.ese.util.COLUMN_TYPES
dissect.database.ese.util.COLUMN_TYPE_MAP