stream
os.read.lines.stream
object stream extends ReadablePath => Generator[String]
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.
Attributes
- Graph
-
- Supertypes
- Self type
-
stream.type
Members list
In this article