StringDataExtension extension

Data extension for String.

on

Methods

decodeHex() Uint8List

Available on String, provided by the StringDataExtension extension

Decodes this String as an HEX sequence of bytes (Uint8List).
encodeLatin1() Uint8List

Available on String, provided by the StringDataExtension extension

Encodes this String to LATIN-1.
encodeLatin1Bytes() Uint8List

Available on String, provided by the StringDataExtension extension

Encodes this String to LATIN-1 bytes.
encodeUTF8() List<int>

Available on String, provided by the StringDataExtension extension

Encodes this String to UTF-8 bytes.
encodeUTF8Bytes() Uint8List

Available on String, provided by the StringDataExtension extension

Encodes this String to UTF-8 bytes.
numericalPadLeft(int width) String

Available on String, provided by the StringDataExtension extension

Same as padLeft with 0, but respects the numerical signal.
toBigIntFromHex() BigInt

Available on String, provided by the StringDataExtension extension

Converts this String to a BigInt parsing as a HEX sequence.