BorshStructEncoder<T> class

Struct Encoder

An encoder for borsh serializable objects.

Inheritance

Constructors

BorshStructEncoder.new(Map<String, BorshCodec> schema)
Creates an encoder 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<Map<String, dynamic>> 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(Map<String, dynamic> input) Iterable<int>
Encodes input to byte data.
inherited
fuse<TT>(Converter<Iterable<int>, TT> other) Converter<Map<String, dynamic>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pack(BufferWriter buffer, Map<String, dynamic> input) → void
Writes input to buffer.
inherited
startChunkedConversion(Sink<Iterable<int>> sink) Sink<Map<String, dynamic>>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

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