BorshTupleDecoder class
Tuple Decoder
A decoder for fixed-length arrays with multiple data types.
- Inheritance
-
- Object
- Converter<
Iterable< int> , Tuple> - BorshDecoder<
Tuple> - BorshTupleTypedDecoder<
BorshCodec> - BorshTupleDecoder
Constructors
-
BorshTupleDecoder.new(List<
BorshCodec> fields) -
Creates a decoder for fixed-length arrays with multiple data types.
const
Properties
-
fields
→ List<
BorshCodec> -
The field type codecs.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
Stream< Iterable< stream) → Stream<int> >Tuple> -
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) → Tuple -
Decodes
T
frominput
.inherited -
fuse<
TT> (Converter< Tuple, TT> other) → Converter<Iterable< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< Tuple> sink) → Sink<Iterable< int> > -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unpack(
BufferReader buffer) → List -
Reads
T
frombuffer
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited