BorshArrayDecoder<T> class
Array Decoder
A decoder for fixed-length arrays.
- Inheritance
-
- Object
- Converter<
Iterable< int> , List<T> > - BorshDecoder<
List< T> > - BorshArrayTypedDecoder<
T, BorshCodec< T> > - BorshArrayDecoder
Constructors
-
BorshArrayDecoder.new(BorshCodec<
T> subtype, int length) -
Creates a decoder for fixed-length arrays.
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
→ BorshCodec<
T> -
The subtype's codec.
finalinherited
Methods
-
bind(
Stream< Iterable< stream) → Stream<int> >List< T> > -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
Iterable< int> input) → List<T> -
Decodes
T
frominput
.inherited -
fuse<
TT> (Converter< List< other) → Converter<T> , TT>Iterable< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< List< sink) → Sink<T> >Iterable< int> > -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unpack(
BufferReader buffer) → List< T> -
Reads
T
frombuffer
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited