def pending

bend-kit-postgres@0.3.0.0 · codec.bend:706

import bend-kit-postgres@0.3.0.0/codec.bend as Codec
import 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))

Uses (5)

Used by (1)