Bech32BaseConst class

Constants for Bech32 encoding/decoding.

Constructors

Bech32BaseConst()

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

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

Static Methods

valueOf(int charCode) → int
Value (0..31) for charCode, or -1 if it isn't a valid Bech32 character.

Constants

charset → const String
reverseCharset → const List<int>
charseti -> i, indexed directly by ASCII code unit. -1 means "not a valid Bech32 character". Sized to 128 (charset is ASCII-only, max code unit 122 for 'z'), so any code unit >= 128 is rejected by a simple range check before ever touching this table.