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§
Functions§
- extract_
frame - Extract the next complete FIX message from
buf, consuming it (and any preceding garbage). ReturnsIncompletewhen the buffer holds no full message yet. Garbled frames (bad BodyLength structure) are discarded and scanning resumes at the next8=.