BorshDecoder<T> class
abstract
Decoder
An interface for Borsh decoders.
- Inheritance
- Implementers
- BorshArrayTypedDecoder
- BorshBigIntDecoder
- BorshBigUintDecoder
- BorshBoolDecoder
- BorshBufferDecoder
- BorshDateTimeDecoder
- BorshEnumDecoder
- BorshFloatDecoder
- BorshIntDecoder
- BorshListDecoder
- BorshMapDecoder
- BorshOptionTypedDecoder
- BorshRustEnumTypedDecoder
- BorshStringBigIntDecoder
- BorshStringDecoder
- BorshStringSizedDecoder
- BorshStructTypedDecoder
- BorshTupleTypedDecoder
- BorshUintDecoder
- BorshVecTypedDecoder
Constructors
- BorshDecoder.new()
-
Creates a decoder for
T
data types.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
Methods
-
bind(
Stream< Iterable< stream) → Stream<int> >T> -
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) → T -
Decodes
T
frominput
.override -
fuse<
TT> (Converter< T, TT> other) → Converter<Iterable< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< T> sink) → Sink<Iterable< int> > -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unpack(
BufferReader buffer) → T -
Reads
T
frombuffer
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited