bytesToBigInt method
Implementation
static BigInt bytesToBigInt(Uint8List bytes, {bool bigEndian = false}) {
if (!bigEndian) bytes = Uint8List.fromList(bytes.reversed.toList());
return BigInt.parse(bytesToHexStr(bytes), radix: 16);
}
static BigInt bytesToBigInt(Uint8List bytes, {bool bigEndian = false}) {
if (!bigEndian) bytes = Uint8List.fromList(bytes.reversed.toList());
return BigInt.parse(bytesToHexStr(bytes), radix: 16);
}