Base58Codec class

Encode and decode bytes to base58 strings.

An alphabet must be provided.

In order to comply with Bitcoin and Ripple standard encoding Base58Check, use Base58CheckCodec.

Inheritance

Constructors

Base58Codec(String alphabet)
const

Properties

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

Methods

decode(String encoded) List<int>
Decodes encoded data.
inherited
encode(List<int> input) String
Encodes input.
inherited
fuse<R>(Codec<String, R> other) Codec<List<int>, 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