BorshArraySizedEncoder<T> class

Array Sized Encoder

An encoder for fixed-length arrays with fixed size data types.

Inheritance

Constructors

BorshArraySizedEncoder.new(BorshCodecFixedSized<T> subtype, int length)
Creates an encoder for fixed-length arrays with fixed size data types.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
The number of items in the array.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtype BorshCodecFixedSized<T>
The data type's annotation.
finalinherited

Methods

bind(Stream<List<T>> stream) Stream<Iterable<int>>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(List<T> input) Iterable<int>
Encodes input to byte data.
inherited
fuse<TT>(Converter<Iterable<int>, TT> other) Converter<List<T>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pack(BufferWriter buffer, List<T> input) → void
Writes input to buffer.
inherited
startChunkedConversion(Sink<Iterable<int>> sink) Sink<List<T>>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

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