Protocol.decode.response.size: 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 695-704 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=695&end_line=704 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def decode.response.size( pair: Bytes.Bytes & U32, +version: U32, +generation: U32, +request_id: U32 ) -> ResponseDecision: match pair: case (input, +size): decode.response.minimum(input, version, generation, request_id, Nat.is_le(4n, U32.to_nat(size))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_le 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=ResponseDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=decode.response.minimum