CursorOpenCodec.mode.read.copies: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend as CursorOpenCodec Lines 357-366 of mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend&start_line=357&end_line=366 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Reads the mode from a copy while retaining the request for bound slicing. def mode.read.copies( sources: Bytes.Bytes & Bytes.Bytes, snapshot_id: U32, total: U32 ) -> Decision: match sources: case (payload, reader): mode.read.field(payload, snapshot_id, total, Bytes.get.u32be(reader, 4)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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=bend-kit-bytes@0.3.3.0/bytes.bend&name=get.u32be https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend&name=mode.read.field