cremalink.parsing.monitor.extractors module
This module provides extractor functions that pull data from a raw monitor frame.
- cremalink.parsing.monitor.extractors.extract_fields_from_b64(raw_b64: str) Tuple[dict[str, Any], list[str], list[str], MonitorFrame | None][source]
Parses a base64-encoded monitor string into a low-level MonitorFrame and extracts its fields into a dictionary.
This function serves as the first step in the decoding pipeline. It handles the initial, structural parsing of the byte frame and populates a dictionary with the raw integer and byte values.
- Parameters:
raw_b64 – The base64-encoded monitor data string.
- Returns:
A dictionary of the extracted raw fields.
A list of any warnings generated during parsing.
A list of any errors encountered during parsing.
The parsed MonitorFrame object, or None if parsing failed.
- Return type:
A tuple containing