def pending
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
706# The count of bytes read but not yet decoded.
707def pending(r: Reader) -> Reader & U32:
708 Reader{buf, +pos} = r
709 pending.of(pos, Bytes.length(buf))