Skip to main content

Module wire

Module wire 

Source
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.