def line.end

bend-kit-llm@0.13.0.1 · sse.bend:227

import bend-kit-llm@0.13.0.1/sse.bend as Sse
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

227def line.end(want: Bool, a: Array<U32>, +len: U32, +s: U32, +e: U32, cr: Bool, st: St) -> Line:
228  match want:
229    case True{}:
230      LWant{a, s, cr, st}
231    case False{}:
232      line.term(len, s, e, st, Bytes.peek(a, e))

Uses (7)

Used by (1)