writeAll method

  1. @override
int writeAll(
  1. List<int> list
)
override

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;
}