MultibaseCodec class

A multibase encoder and decoder

Inheritance

Constructors

MultibaseCodec({required Multibase encodeBase})
Construct a new encoder for the given base and a generic decoder

Properties

decoder MultibaseDecoder
Returns the decoder of this, converting from T to S.
final
encoder MultibaseEncoder
Returns the encoder from S to T.
final
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<String, Uint8List>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(String encoded) Uint8List
Decodes encoded data.
inherited
encode(Uint8List input) String
Encodes input.
inherited
fuse<R>(Codec<String, R> other) Codec<Uint8List, R>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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