Splits a byte stream (a fetch body, or any async iterable of chunks) into lines. A network chunk rarely ends on a newline, so the tail is carried into the next read; a multi-byte character split across reads is reassembled by the streaming decoder.
fetch
Splits a byte stream (a
fetchbody, or any async iterable of chunks) into lines. A network chunk rarely ends on a newline, so the tail is carried into the next read; a multi-byte character split across reads is reassembled by the streaming decoder.