Identical to os.read.lines, but streams the results back to you in a os.Generator rather than accumulating them in memory.
Identical to os.read.lines, but streams the results back to you in a os.Generator rather than accumulating them in memory. Useful if the file is large.
Reads the given os.Path or other os.Source as a string and splits it into lines; defaults to reading as UTF-8, which you can override by specifying a
charSet
.