A specialized Array containing U8 ([U8; n]).

Useful to express that memory is read as an "untyped" buffer of bytes.

Method __init__ Construct an array of type ty and count count.

Inherited from Type (via Array):

Method size_bytes The minimal number of bytes necessary to hold an instance of this type, possibly depending on the context.

Inherited from Type (via Array):

Method size_bytes The minimal number of bytes necessary to hold an instance of this type, possibly depending on the context.
def __init__(self, count):

Construct an array of type ty and count count.

Examples

An array of 4 contiguous 64 bits unsigned integers: >>> U64_4 = types.Array(types.U64, 4)

Information

ParameterstyThe type of element in the resulting array type.
countThe number of elements in the resulting array type.
RaisesValueErrorif count < 0.
API Documentation for reven2, generated by pydoctor at 2019-09-11 11:57:21.