Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
option_deserializer.h
1#ifndef OPTION_DESERIALIZER_H
2#define OPTION_DESERIALIZER_H
3
4#include "./ipv4_endpoint_option.h"
5#include "./loadbalancing_option.h"
6
7namespace ara
8{
9 namespace com
10 {
11 namespace option
12 {
15 {
16 public:
22 static std::unique_ptr<Option> Deserialize(
23 const std::vector<uint8_t> &payload,
24 std::size_t &offset);
25 };
26 }
27 }
28}
29
30#endif
A helper class for deserialzing an option payload.
Definition: option_deserializer.h:15
static std::unique_ptr< Option > Deserialize(const std::vector< uint8_t > &payload, std::size_t &offset)
Deserialize an option payload.
Definition: option_deserializer.cpp:9