Protocol.decode.words.payload_length.expected.copies: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocol Lines 298-313 of mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&start_line=298&end_line=313 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def decode.words.payload_length.expected.copies( input: Bytes.Bytes, +size: U32, +version: U32, +generation: U32, +request_id: U32, +operation: U32, +payload_length: U32, expected: Nat & Nat, within_limit: Bool ) -> FrameDecision: match expected: case (exact_expected, short_expected): decode.words.payload_length.size.copies(input, version, generation, request_id, operation, payload_length, exact_expected, short_expected, within_limit, nat.duplicate.pair(U32.to_nat(size))) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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.to_nat 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/coordinator/Protocol.bend&name=FrameDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=decode.words.payload_length.size.copies https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=nat.duplicate.pair