hexStrToBigInt method

BigInt hexStrToBigInt (String str, { bool bigEndian: false })

Implementation

static BigInt hexStrToBigInt(String str, {bool bigEndian = false}) {
  var bytes = hexStrToBytes(str);
  if (!bigEndian) bytes = Uint8List.fromList(bytes.reversed.toList());
  return _decodeBigInt(bytes.toList());
}