otupy.types.base.array_of.ArrayOf

class ArrayOf(fldtype)

Bases: object

OpenC2 ArrayOf

Implements OpenC2 ArrayOf(vtype):

An ordered list of fields with the same semantics. Each field has a position and type <vtype>.

It extends the Array type. However, to make its usage simpler and compliant to the description given in the Language Specification, the implementation is quite different. Note that in many cases ArrayOf is only used to create arrays without the need to derive an additional data type.

Methods