readLong method

int readLong({
  1. bool signed = false,
})
inherited

Reads a 8 byte integer starting at readPosition.

Implementation

int readLong({bool signed = false}) {
  final value = signed
      ? readByteData!.getInt64(readPosition, _endianness)
      : readByteData!.getUint64(readPosition, _endianness);
  readPosition += 8;
  return value;
}