writeListUint8 method
Write the given list of unsigned 8-bit integer values
.
Implementation
int writeListUint8(List<int> values) {
assert(!_inVTable);
_prepare(_sizeofUint32, 1, additionalBytes: values.length);
final result = _tail;
var tail = _tail;
_setUint32AtTail(tail, values.length);
tail -= _sizeofUint32;
for (final value in values) {
_setUint8AtTail(tail, value);
tail -= _sizeofUint8;
}
return result;
}