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

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

Property: The signedness of this integer type.

Information

RaisesNotImplementedIf 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.
RaisesNotImplementedIf not reimplemented by a subclass.
def _construct_type(self, context=None):

Return the underlying construct instance

API Documentation for reven2, generated by pydoctor at 2019-09-11 11:57:21.