writeInt64 method

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

Writes a int64 i into the buffer

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

Implementation

void writeInt64(int i, [Endian endian = Endian.big]) {
  _ensureSize(int64Size);
  _scratchData!.setInt64(_scratchOffset, i, endian);
  _scratchOffset += int64Size;
}