SstFile.feed: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFile Lines 1720-1724 of mylsm-lsm-store@0.6.0.1/src/SstFile.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&start_line=1720&end_line=1724 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Buffer streaming chunks until the bounded pure parser is applied. def feed(decoder: Decoder, chunk: Bytes.Bytes) -> Decoder: match decoder: case Dec{chunks, total, invalid}: feed.if.valid(invalid, chunks, total, chunk) Uses (3): https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=Decoder https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=feed.if.valid