FixedLengthArray<T> class

The solidity T[k] type for arrays whose length is known.

Inheritance

Constructors

FixedLengthArray({required AbiType<T> type, required int length})
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
length int
Length.
final
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