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.
1489
+
lines[0]= unparsedBytes + lines[0]
1491
1490
1492
1491
// Parse any complete lines of output.
1493
1492
forlinein lines.dropLast(){
1494
1493
parseLine(line)
1495
1494
}
1496
1495
1497
-
// Remove any complete lines from the buffer, leaving only the last partial line (if any).
0 commit comments