def field
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
160# The line from s to e as a field: the name up to the first colon, the value after it. A comment's name is empty.
161def field(a: Array<U32>, +len: U32, +s: U32, +e: U32, st: St) -> Array<U32> & St:
162 field.colon(s, e, len, st, colon(U32.to_nat((e - s : U32)), Bytes.peek(a, s), s))