Protocol.decode.words.payload_length.size.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 279-296 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=279&end_line=296 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def decode.words.payload_length.size.copies( input: Bytes.Bytes, +version: U32, +generation: U32, +request_id: U32, +operation: U32, +payload_length: U32, exact_expected: Nat, short_expected: Nat, within_limit: Bool, sizes: Nat & Nat ) -> FrameDecision: match sizes: case (exact_size, short_size): decode.sized(input, version, generation, request_id, operation, payload_length, Nat.is_eq(exact_size, exact_expected), Nat.is_lt(short_size, short_expected), within_limit) 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=Nat.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt 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=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.sized