def text.hit
import bend-kit-multipart@0.3.0.0/multipart.bend as Multipartimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
557def text.hit(+dlen: U32, r: Bytes.Bytes & Maybe<&2, U32>, out: List<&1, Item>) -> Step:
558 (buf, hit) = r
559 match hit:
560 case Some{+i}:
561 text.kind(suffix.at(buf, i, dlen), i, dlen, out)
562 case None{}:
563 text.flush(keep(buf, (dlen - 1 : U32)), out)