bytes property

Stream<List<int>> bytes

Converts this to a byte stream with newlines baked in.

Implementation

Stream<List<int>> get bytes =>
    map<List<int>>((line) => utf8.encode("$line\n"));