writeListInt64 method

int writeListInt64(
  1. List<int> values
)

Write the given list of signed 64-bit integer values.

Implementation

int writeListInt64(List<int> values) {
  assert(!_inVTable);
  _prepare(_sizeofInt64, values.length, additionalBytes: _sizeofUint32);
  final result = _tail;
  var tail = _tail;
  _setUint32AtTail(tail, values.length);
  tail -= _sizeofUint32;
  for (final value in values) {
    _setInt64AtTail(tail, value);
    tail -= _sizeofInt64;
  }
  return result;
}