def text.flush.len
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
519# Content: bytes that cannot begin a delimiter go out as Body; the last dlen - 1 wait for the next chunk.
520def text.flush.len(r: Bytes.Bytes & U32, tail: Bytes.Bytes, out: List<&1, Item>) -> Step:
521 (head, +n) = r
522 Pause{Content{}, tail, emit(U32.is_eq(n, 0), head, out)}