def line.cr
import bend-kit-llm@0.13.0.1/sse.bend as Sseimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
211# A CR at e. With nothing after it yet, an LF may still come.
212def line.cr(more: Bool, a: Array<U32>, +len: U32, +s: U32, +e: U32, st: St) -> Line:
213 match more:
214 case True{}:
215 line.crlf(len, s, e, st, Bytes.peek(a, (e + 1 : U32)))
216 case False{}:
217 line.body(U32.is_eq(s, e), a, len, s, e, (e + 1 : U32), True{}, st)