StringDataExtension extension

Data extension for String.

on

Methods

decodeHex() Uint8List
Decodes this String as an HEX sequence of bytes (Uint8List).
encodeLatin1() Uint8List
Encodes this String to LATIN-1.
encodeLatin1Bytes() Uint8List
Encodes this String to LATIN-1 bytes.
encodeUTF8() List<int>
Encodes this String to UTF-8 bytes.
encodeUTF8Bytes() Uint8List
Encodes this String to UTF-8 bytes.
numericalPadLeft(int width) String
Same as padLeft with 0, but respects the numerical signal.
toBigIntFromHex() BigInt
Converts this String to a BigInt parsing as a HEX sequence.