DynamicLengthArray<T> class

The solidity T[] type for arrays with an dynamic length.

Inheritance

Constructors

DynamicLengthArray({required AbiType<T> type})
Constructor.
const

Properties

encodingLength EncodingLengthInfo
Information about how long the encoding will be.
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
name String
The name of this type, as it would appear in a method signature in the solidity ABI.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AbiType<T>
The inner abi type.
finalinherited

Methods

decode(ByteBuffer buffer, int offset) DecodingResult<List<T>>
Decode.
override
encode(List<T> data, LengthTrackingByteSink buffer) → void
Writes data into the buffer.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override