Base32 class
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
Static Methods
-
decode(String base32)
→ Uint8List
-
Takes in a
base32
string and decodes it back to a Uint8List that can be
converted to a hex string using Crypto.bytesToHex().
-
encode(Uint8List bytes)
→ String
-
Takes in a list of
bytes
converts it to a Uint8List so that one can run
bit operations on it, then outputs a base32 String representation.
-
encodeHexString(String hex)
→ String
-
Takes in a
hex
string, converts the string to a byte list
and runs a normal encode() on it. Returns a String representation
of the base32.