UTF-8
as it's read from a file,
The second is an instance of <a href="dart-convert/LineSplitter-class.html">LineSplitter</a>,
which splits the data on newline boundaries.</p>
<pre class="language-dart"><code>var lineNumber = 1;
var stream = File('quotes.txt').openRead();

stream.transform(utf8.decoder)
      .transform(const LineSplitter())
      .listen((line) {
        if (showLineNumbers) {
          stdout.write('${lineNumber++} ');
        }
        stdout.writeln(line);
      });
</code></pre>
<p>See 