collectOutputStream function

void collectOutputStream(
  1. Stream<List<int>> stream,
  2. StringBuffer buffer
)

Implementation

void collectOutputStream(Stream<List<int>> stream, StringBuffer buffer) =>
    stream.transform(const Utf8Decoder()).forEach(buffer.write);