writeAll method
Writes all the int
at list
as bytes.
Implementation
@override
int writeAll(List<int> list) {
var bsLength = list.length;
final pos = _position;
ensureCapacity(pos + bsLength);
_ioSyncPosition();
_ioWriteBytes(list, 0, bsLength);
incrementPosition(bsLength);
assert(_position == _ioPosition);
assert(_ioPosition == _io.positionSync());
return bsLength;
}