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