def feed

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:1720

import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFile
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

1720# Buffer streaming chunks until the bounded pure parser is applied.
1721def feed(decoder: Decoder, chunk: Bytes.Bytes) -> Decoder:
1722  match decoder:
1723    case Dec{chunks, total, invalid}:
1724      feed.if.valid(invalid, chunks, total, chunk)

Uses (3)

Used by (0)

No other definition uses this definition.