Fetch data-plane (de)serializer.
More...
#include <message_serialisation.h>
Fetch data-plane (de)serializer.
◆ FetchObjectSerializationState()
| quicr::messages::FetchObjectSerializationState::FetchObjectSerializationState |
( |
GroupOrder |
group_order | ) |
|
|
inlineexplicitnoexcept |
- Parameters
-
| group_order | Direction used to encode and resolve group deltas. |
◆ Decode()
Resolves deltas relative to previously decoded objects.
- Parameters
-
| object | Wire object whose payload and extensions are moved into the result. |
- Returns
- Resolved object, or std::nullopt for an end-of-range marker.
- Exceptions
-
- Note
- End markers update only prior group/object location; normal objects update all prior state.
◆ Encode()
Delta-encodes an object relative to previously encoded objects.
- Parameters
-
| headers | Absolute object headers. |
| priority | Effective publisher priority. |
| payload | Non-owning payload view copied into the result. |
- Returns
- Wire-level fetch object.
- Exceptions
-
| std::invalid_argument | when group/object ordering contradicts the configured order. |
- Note
- Updates this encoder's prior-object state.
The documentation for this class was generated from the following file: