utils/hex library

Functions

hexAddPrefix(String? value) String
hexFixLength(String value, {int bitLength = -1, bool withPadding = false, bool include0x = true}) String
hexHasPrefix(String value) bool
hexStripPrefix(String value) String
hexToBn(dynamic value, {Endian endian = Endian.big, bool isNegative = false}) BigInt
hexToNumber(dynamic value) int?
hexToString(String value) String
hexToU8a(String value, [int bitLength = -1]) Uint8List
value should be 0x hex string.
hexToU8aStream(String value) Uint8List