BorshFloat32Encoder class

Float32 Encoder

An encoder for 32-bit floating point numbers.

Inheritance

Constructors

BorshFloat32Encoder.new()
Creates an encoder for 32-bit floating point numbers.
const

Properties

byteLength int
The fixed number of bytes required to store this data type.
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<double> 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(double input) Iterable<int>
Encodes input to byte data.
inherited
fuse<TT>(Converter<Iterable<int>, TT> other) Converter<double, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pack(BufferWriter buffer, double input) → void
Writes input to buffer.
override
startChunkedConversion(Sink<Iterable<int>> sink) Sink<double>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

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