:py:mod:`dissect.cstruct.types.bytesinteger` ============================================ .. py:module:: dissect.cstruct.types.bytesinteger Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.cstruct.types.bytesinteger.BytesInteger .. py:class:: BytesInteger(cstruct: BytesInteger.__init__.cstruct, name: str, size: int, signed: bool, alignment: int = None) Bases: :py:obj:`dissect.cstruct.types.RawType` Implements an integer type that can span an arbitrary amount of bytes. .. py:method:: parse(buf: BinaryIO, size: int, count: int, signed: bool, endian: str) -> List[int] :staticmethod: .. py:method:: pack(data: List[int], size: int, endian: str, signed: bool) -> bytes :staticmethod: .. py:method:: default() -> int Return a default value of this type. .. py:method:: default_array(count: int) -> List[int] Return a default array of this type.