fileLineReader static method

Conveyor<Free<IOOp, dynamic>, String> fileLineReader(
  1. String path, [
  2. Conveyor<From<UnmodifiableListView<int>>, String>? _decoder,
  3. int chunkBytes = 4096
])

Implementation

static Conveyor<Free<IOOp, dynamic>, String> fileLineReader(String path, [Conveyor<From<UnmodifiableListView<int>>, String>? _decoder, int chunkBytes = 4096]) =>
    fileReader(path, chunkBytes).pipe(_decoder ?? Text.decodeUtf8).pipe(Text.lines);