Expand description
Versioned AST wire codecs (text + QWB2 binary). QAIL wire codecs for command transport.
- Text codecs (
QAIL-CMD/1,QAIL-CMDS/1) round-trip through canonical text. - Binary codec (
QWB2) transports framed AST bytes directly.
Constants§
- MAX_
CMD_ BINARY_ PAYLOAD_ BYTES - Maximum allowed QWB2 payload size (bytes).
Functions§
- decode_
cmd_ binary - Decode one command from strict QWB2 AST-binary wire format.
- decode_
cmd_ binary_ payload - Decode and validate strict QWB2-framed payload bytes.
- decode_
cmd_ text - Decode one command from text wire format.
- decode_
cmds_ text - Decode multiple commands from text wire format.
- encode_
cmd_ binary - Encode one command into compact binary wire format (QWB2 AST binary).
- encode_
cmd_ text - Encode one command into versioned text wire format.
- encode_
cmds_ text - Encode multiple commands into versioned text wire format.