def stream.pc.of
import bend-kit-http@0.38.4.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
4683# pc.of, and whether bytes came past the end of the body.
4684def stream.pc.of(bf: Bf) -> Pc & Bool:
4685 Bf{st, parts, rest} = bf
4686 Bytes.Bytes{+len, buf} = rest
4687 (pc.fed.of(rb.body(parts), st), Bool.not(U32.is_zero(len)))