DynamicLengthArray<T> class
The solidity T[] type for arrays with an dynamic length.
- Inheritance
-
- Object
- AbiType<
List< T> > - BaseArrayType<
T> - DynamicLengthArray
Constructors
-
DynamicLengthArray({required AbiType<
T> type}) -
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> > -
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 ==(
dynamic other) → bool -
The equality operator.
override