writeUint64 method Null safety

void writeUint64(
  1. int i,
  2. [Endian endian = Endian.big]
)

Writes a uint64 i into the buffer

  • i: The value to write
  • endian: The endianess, Endian.big by default

Implementation

void writeUint64(int i, [Endian endian = Endian.big]) {
  _ensureSize(uint64Size);
  _scratchData!.setUint64(_scratchOffset, i, endian);
  _scratchOffset += uint64Size;
}