def pc.po
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
4643# A body piece, or none when empty: more reads the next piece, and not more is the end.
4644def pc.po(more: Bool, empty: Bool, b: Bytes.Bytes) -> Po:
4645 match empty:
4646 case True{}:
4647 Bool.pick(Po, more, PoNone{}, PoEnd{})
4648 case False{}:
4649 PoPiece{b}