Skip to main content

Module decode

Module decode 

Source
Expand description

SSP2 envelope decoding (SPEC.md §1.2), request/response frame grammar (§1.5, §1.6), and the closed decode-error boundary of §1.7: exactly the listed violations are rejected here, nothing more.

Constants§

SSP2_MAGIC
WIRE_VERSION

Functions§

decode_message
Decode a complete SSP2 message, enforcing envelope rules and the per-kind frame grammar. Unknown frame types are preserved byte-for-byte (§1.2 rule 2).