base32 class Null safety
Constructors
- base32()
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
-
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 hexEncode -
decodeAsHexString(
String base32) → String -
Takes in a
base32
string and decodes it back to a String in hex format. -
decodeAsString(
String base32) → String -
Takes in a
base32
string and decodes it back to a String. -
encode(
Uint8List bytesList) → String -
Takes in a
byteList
converts it to a Uint8List so that I can run bit operations on it, then outputs a String representation of the base32. -
encodeHexString(
String b32hex) → String -
Takes in a
hex
string, converts the string to a byte list and runs a normal encode() on it. Returning a String representation of the base32. -
encodeString(
String utf8string) → String -
Takes in a
utf8string
, converts the string to a byte list and runs a normal encode() on it. Returning a String representation of the base32.