FixedLengthArray<T> class
The solidity T[k] type for arrays whose length is known.
- Inheritance
-
- Object
- AbiType<
List< T> > - BaseArrayType<
T> - FixedLengthArray
Constructors
-
FixedLengthArray({required AbiType<
T> type, required int length}) -
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
-
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> > -
override
-
encode(
List< T> data, LengthTrackingByteSink buffer) → void -
Writes
data
into thebuffer
.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