getUint64AsNumber method

int getUint64AsNumber()

Get a uint64 as a number. Caution: number only has 53 bits of precision; some values will change. numeric.binaryToDecimal(serialBuffer.getUint8List(8)) recommended instead

Implementation

int getUint64AsNumber() {
  var low = getUint32();
  var high = getUint32();
  return (high >> 0) * 0x10000 + (low >> 0);
}