BorshMapDecoder<K, V> class
Map Decoder
A decoder for map data types.
Constructors
-
BorshMapDecoder.new(BorshCodec<
K> keySubtype, BorshCodec<V> valueSubtype) -
Creates a decoder for map data types.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keySubtype
→ BorshCodec<
K> -
The key data type's codec.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
valueSubtype
→ BorshCodec<
V> -
The value data type's codec.
final
Methods
-
bind(
Stream< Iterable< stream) → Stream<int> >Map< K, V> > -
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<K, V> -
Decodes
T
frominput
.inherited -
fuse<
TT> (Converter< Map< other) → Converter<K, V> , 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<K, V> >Iterable< int> > -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unpack(
BufferReader buffer) → Map< K, V> -
Reads
T
frombuffer
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited