- Index
- »
- io
- »
- func:ioReadLines
def
func:ioReadLines
ioReadLines(handle, opts: null)
Read an I/O handle into memory as a list of string lines. Lines are processed according to InStream.readLine
semanatics.
By default the maximum line size read is 4kb of Unicode characters (not bytes). This limit may be overridden using the option key "limit".
Examples:
ioReadLines(`io/file.txt`) ioReadLines(`io/file.txt`, {limit: 10_000})