dissect.cstruct.types

Submodules

Re-Exports

Array

Built-in mutable sequence.

BaseArray

Implements a fixed or dynamically sized array type.

BaseType

Base class for cstruct type classes.

MetaType

Base metaclass for cstruct type classes.

Char

Character type for reading and writing bytes.

CharArray

Character array type for reading and writing byte strings.

Enum

Enum type supercharged with cstruct functionality.

Flag

Flag type supercharged with cstruct functionality.

Int

Integer type that can span an arbitrary amount of bytes.

LEB128

Variable-length code compression to store an arbitrarily large integer in a small number of bytes.

Packed

Packed type for Python struct (un)packing.

Pointer

Pointer to some other type.

Field

Structure field.

Structure

Base class for cstruct structure type classes.

Union

Base class for cstruct union type classes.

Void

Void type.

VoidArray

Array type representing void elements, primarily used for no-op reading and writing operations.

Wchar

Wide-character type for reading and writing UTF-16 characters.

WcharArray

Wide-character array type for reading and writing UTF-16 strings.