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.
Constructors
- Base58Codec(String alphabet)
-
const
Properties
- alphabet → String
-
final
-
decoder
→ Converter<
String, List< int> > -
Returns the decoder of
this
, converting fromT
toS
.no setteroverride -
encoder
→ Converter<
List< int> , String> -
Returns the encoder from
S
toT
.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
withother
.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