add method

  1. @override
void add(
  1. List<int> chunk
)
override

Adds chunked data to this sink.

This method is also used when converters are used as StreamTransformers.

Implementation

@override
void add(List<int> chunk) {
  addSlice(chunk, 0, chunk.length, false);
}