SstFile.stream.block.records: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFile Lines 1435-1452 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=1435&end_line=1452 import Base import mylsm-lsm-store@0.6.0.1/src/MemTable.bend as MemTable import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def stream.block.records( +level: U32, +total: U32, +block_count: U32, +remaining: U32, +entries_left: U32, entries: List<&2, MemTable.Entry>, hashes: List<&1, Bytes.Bytes>, records: ParsedEntries, +count: U32, digest: Bytes.Bytes ) -> Result<&1, &1, Error, StreamState>: match records: case Entries{reversed, previous}: Done{StreamState{level, total, block_count, (remaining - 1 : U32), (entries_left - count : U32), previous, List.append(&2, MemTable.Entry, reversed, entries), digest <> hashes}} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub 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/MemTable.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=ParsedEntries https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/SstFile.bend&name=StreamState