Writes bytes starting at index; grows the buffer if needed.
bytes
index
int setAll(int index, List<int> bytes) { _ensureLength(index + bytes.length); _buffer.bytes.setAll(index, bytes); return bytes.length; }