Operation.put.sliced: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operation Lines 60-72 of mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend&start_line=60&end_line=72 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def put.sliced( copies: Bytes.Bytes & Bytes.Bytes, key_lengths: U32 & U32, value_lengths: U32 & U32 ) -> Decision: match copies: case (key_source, value_source): match key_lengths: case (key_length, key_offset): match value_lengths: case (value_length, _): put.result(Bytes.slice(key_source, 8, key_length), Bytes.slice(value_source, (8 + key_offset : U32), value_length)) Uses (8): 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=Base/base.bend&name=U32.add 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=slice https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend&name=put.result