add method
Adds chunked data to this sink.
This method is also used when converters are used as StreamTransformers.
Implementation
@override
void add(List<int> chunk) {
_buffer.addAll(chunk);
_length += chunk.length;
}
Adds chunked data to this sink.
This method is also used when converters are used as StreamTransformers.
@override
void add(List<int> chunk) {
_buffer.addAll(chunk);
_length += chunk.length;
}