AddrDecUtils class
Class for decode address utility functions.
Constructors
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
-
splitPartsByChecksum(
List< int> addrBytes, int checksumLen) → Tuple<List< int> , List<int> > - Split address into two parts, considering the checksum at the end of it.
-
validateAndRemovePrefix(
String addr, String prefix) → String - Validate and remove prefix from an address.
-
validateAndRemovePrefixBytes(
List< int> addr, List<int> prefix) → List<int> - Validate and remove prefix from an address.
-
validateBytesLength(
List< int> addr, int lenExp, {int? minLength}) → void - Validate address length.
-
validateChecksum(
List< int> payloadBytes, List<int> checksumBytesExp, List<int> checksumFct(List<int> )) → void - Validate address checksum.
-
validateLength(
String addr, int lenExp) → void - Validate address length.
-
validatePubKey(
List< int> pubKeyBytes, EllipticCurveTypes curveType) → void - Validate address length.