dissect.cstruct.types.packedtype

Module Contents

Classes

PackedType

Implements a packed type that uses Python struct packing characters.

class dissect.cstruct.types.packedtype.PackedType(cstruct: PackedType.__init__.cstruct, name: str, size: int, packchar: str, alignment: int = None)

Bases: dissect.cstruct.types.RawType

Implements a packed type that uses Python struct packing characters.

default() int

Return a default value of this type.

default_array(count: int) List[int]

Return a default array of this type.