Skip to main content

Module parser

Module parser 

Source
Expand description

Stream framing: carve complete FIX messages out of a raw byte stream.

Mirrors the reference engines’ resync behavior: discard garbage before 8=, use BodyLength(9) to jump the body, then locate <SOH>10=...<SOH>. A frame that violates this structure is skipped without dropping the connection.

Enums§

Frame

Functions§

extract_frame
Extract the next complete FIX message from buf, consuming it (and any preceding garbage). Returns Incomplete when the buffer holds no full message yet. Garbled frames (bad BodyLength structure) are discarded and scanning resumes at the next 8=.