Skip to main content

Module wire

Module wire 

Source
Expand description

Serde-free AST wire codec. QAIL wire codec (parser-friendly, serde-free for AST payloads).

This module provides compact encodings that round-trip through the canonical QAIL text formatter + parser, so consumers can transport AST commands without requiring serde derives on AST types.

Functionsยง

decode_cmd_binary
Decode one command from compact binary wire format.
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.
encode_cmd_text
Encode one command into versioned text wire format.
encode_cmds_text
Encode multiple commands into versioned text wire format.