writeBytes method

void writeBytes(
  1. List<int> data
)

Writes the bytes in data to the sink.

Implementation

void writeBytes(List<int> data) {
  _targetSink.add(data);
  _bytesWritten += data.length;
}