def decode_response

mylsm-lsm-store@0.6.0.1 · src/coordinator/Protocol.bend:727

import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocol
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

727# Decodes a response only after validating its correlated outer frame.
728def decode_response(input: Bytes.Bytes, max_payload_bytes: Nat) -> ResponseDecision:
729  decode.response.frame(decode(input, max_payload_bytes))

Uses (5)

Used by (1)