Known subclasses: reven2.types._integer.ArchDependentInteger, reven2.types._integer.BigEndian, reven2.types._integer.FixedWidthInteger, reven2.types._integer.LittleEndian

An abstract class whose instances represent the types of integer.

Implementers must specialize the following methods:

Method endianness Property: The endianness of this integer type.
Method signedness Property: The signedness of this integer type.
Method size_bytes The minimal number of bytes necessary to hold an instance of this integer type.
Method _construct_type Return the underlying construct instance

Inherited from Type:

Method parse Parses the value of an instance of this type from a raw buffer, possibly depending on the context.
Method is_context_sensitive Whether the context argument needed by some methods actually has an effect.
@property
def endianness(self):

Property: The endianness of this integer type.

Information

RaisesNotImplementedErrorIf not reimplemented by a subclass.
@property
def signedness(self):

Property: The signedness of this integer type.

Information

RaisesNotImplementedErrorIf not reimplemented by a subclass.
def size_bytes(self, context=None):

The minimal number of bytes necessary to hold an instance of this integer type.

Information

ParameterscontextThe context object. See package documentation.
RaisesNotImplementedErrorIf not reimplemented by a subclass.
def _construct_type(self, context=None):

Return the underlying construct instance

API Documentation for reven2, generated by pydoctor at 2021-01-06 13:24:12.