readUInt64 method

BigInt readUInt64()

Returns a BigInt to ensure that a full 64 unsigned bits are represented. Web targets do not have enough precision and native ints are signed.

Implementation

BigInt readUInt64() => _requireBytes(
  8, () => BigInt.from(readUInt32()) | (BigInt.from(readUInt32()) << 32),
);