utils library Null safety
Functions
-
concatUint8List(
Iterable< Uint8List> list) → Uint8List - Concat a list of Uint8List @param {Array} arrays Uint8List
-
decodeBigInt(
Uint8List bytes) → BigInt - Decode a BigInt from bytes in big-endian encoding. @param {Uint8List} Uint8List to decode
-
encodeBigInt(
BigInt number) → Uint8List - Encode a big integer into a Uint8List (8 bytes) @param {Number} number Number to encode
-
encodeFloat64(
double number) → Uint8List - Encode a float into a Uint8List (8 bytes) @param {Number} number Number to encode
-
encodeInt32(
int number) → Uint8List - Encode a integer into a Uint8List (4 bytes) @param {Number} number Number to encode
-
hexToUint8List(
String hexString) → Uint8List - Encode an hexadecimal string into a Uint8List @param {Uint8List} hexString Hexadecimal string
-
isHex(
String inputString) → bool -
uint8ListToHex(
Uint8List bytes) → String - Encode an Uint8List into an hexadecimal string @param {Uint8List} bytes Uint8List