writeListInt32 method
Write the given list of signed 32-bit integer values
.
Implementation
int writeListInt32(List<int> values) {
_ensureNoVTable();
_prepare(_sizeofUint32, 1 + values.length);
final int result = _tail;
int tail = _tail;
_setUint32AtTail(_buf, tail, values.length);
tail -= _sizeofUint32;
for (int value in values) {
_setInt32AtTail(_buf, tail, value);
tail -= _sizeofInt32;
}
return result;
}