putInt64 method

void putInt64(
  1. int value, {
  2. Endian? endian,
})

Write an Int64 into the buffer.

Implementation

void putInt64(int value, {Endian? endian}) {
  assert(!_isDone);
  _eightBytes.setInt64(0, value, endian ?? Endian.host);
  _addAll(_eightBytesAsList, 0, 8);
}