Function decode_fix_message

Source
pub fn decode_fix_message(message: &[u8]) -> Result<Vec<(u32, String)>>
Expand description

Decodes a FIX message into field tag-value pairs

This function parses a FIX message and extracts the field tags and values. It uses the FIX 4.4 dictionary to parse the message structure.

§Arguments

  • message - The FIX message bytes to decode

§Returns

Returns a vector of tuples containing (tag, value) pairs, or an error if parsing fails

§Errors

Returns an error if the message cannot be parsed as a valid FIX message