Skip to main contentModule framing
Source - DecodedMessage
- A decoded message with all components.
- EncodedObject
- Encoded data object: descriptor + encoded payload bytes.
- decode_data_object_frame
- Decode a data object frame, returning the descriptor and payload slice.
- decode_message
- Decode a complete message from a buffer.
- decode_metadata_only
- Decode only global metadata from a message, skipping data frames.
- encode_data_object_frame
- Encode a data object frame with CBOR descriptor after payload (default).
- encode_message
- Encode a complete message in buffered mode.
- scan
- Scan a multi-message buffer for message boundaries.
Returns (offset, length) of each message found.
- scan_file
- Scan a file for message boundaries without loading the entire file into memory.