Bech32Codec class

A BIP173/BIP350 compatible Bech32/Bech32m encoding/decoding package.

Inheritance

Properties

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

Methods

decode(String encoded, [int limit = 90]) Decoded
Decodes encoded data.
override
encode(Decoded input) String
Encodes input.
inherited
fromWords(Uint8List words) Uint8List
Words to Bytes
fuse<R>(Codec<String, R> other) Codec<Decoded, 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
toWords(Uint8List bytes) Uint8List
Bytes to Words

Operators

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