def next.room
import bend-kit-postgres@0.3.0.0/codec.bend as Codecimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
686def next.room(ok: Bool, +pos: U32, +len: U32, buf: Bytes.Bytes) -> Reader & Next:
687 match ok:
688 case True{}:
689 next.tag(pos, len, uint(Cur{buf, pos, len, True{}}, 1))
690 case False{}:
691 (Reader{buf, pos}, Want{})