readUint64 static method

BigInt readUint64(
  1. Uint8List bytes,
  2. int offset
)

Implementation

static BigInt readUint64(Uint8List bytes, int offset) {
  var value = BigInt.zero;
  for (var i = 7; i >= 0; i--) {
    value = (value << 8) | BigInt.from(bytes[offset + i]);
  }
  return value;
}