Protocol.decode.words.operation.validated: 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 420-434 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=420&end_line=434 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def decode.words.operation.validated( input: Bytes.Bytes, +size: U32, +version: U32, +generation: U32, +request_id: U32, +operation: U32, valid: Bool, max_payload_bytes: Nat ) -> FrameDecision: match valid: case False{}: UnknownOperation{} case True{}: decode.words.payload_length(Bytes.get.u32be(input, 20), size, max_payload_bytes, version, generation, request_id, operation) Uses (7): 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=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/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