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);
_bytes.setAll(pos, list);
incrementPosition(bsLength);
return bsLength;
}