getUint64 method

int getUint64(
  1. int position, [
  2. Endian endian = Endian.big
])

Reads a 64-bit unsigned integer at the specified position without changing the current write position.

endian specifies byte order (defaults to big-endian).

Throws RangeError if position is negative or if position + 8 exceeds the buffer capacity.

Implementation

@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
int getUint64(int position, [Endian endian = Endian.big]) =>
    _ws.data.getUint64(position, endian);