You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Any unparsed bytes belong to the first line. We don't want to run `split` over these because it can lead to accidentally quadratic behavior if write is called many times per line.
1494
+
lines[0]= unparsedBytes + lines[0]
1496
1495
1497
1496
// Parse any complete lines of output.
1498
1497
forlinein lines.dropLast(){
1499
1498
parseLine(line)
1500
1499
}
1501
1500
1502
-
// Remove any complete lines from the buffer, leaving only the last partial line (if any).
0 commit comments