BorshDateTimeEncoder class
Date Time Encoder
An encoder for date time data types.
- Inheritance
- Mixed-in types
Constructors
- BorshDateTimeEncoder.new()
-
Creates an encoder for date time data types.
const
Properties
- byteLength → int
-
The fixed number of bytes required to store this data type.
no setteroverride
- 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< DateTime> 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(
DateTime input) → Iterable< int> -
Encodes
input
to byte data.inherited -
fuse<
TT> (Converter< Iterable< other) → Converter<int> , TT>DateTime, TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pack(
BufferWriter buffer, DateTime input) → void -
Writes
input
tobuffer
.override -
startChunkedConversion(
Sink< Iterable< sink) → Sink<int> >DateTime> -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited