def feed

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

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

639# Drops the decoded bytes, then adds chunk.
640def feed(r: Reader, chunk: Bytes.Bytes) -> Reader:
641  Reader{buf, +pos} = r
642  feed.at(U32.is_zero(pos), buf, pos, chunk)

Uses (4)

Used by (1)