2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "iot/mqtt/FixedHeader.h"
44#ifndef DOXYGEN_SHOULD_SKIP_THIS
54 this->typeFlags = static_cast<uint8_t>((type << 4) | (flags & 0x0F));
62 std::size_t consumed = 0;
86 return static_cast<uint8_t>(
typeFlags >> 0x04);
90 return static_cast<uint8_t>(
typeFlags & 0x0F);
113 packet.insert(packet.end(), tmpVector.begin(), tmpVector.end());
virtual std::vector< char > serialize() const
virtual std::size_t deserialize(iot::mqtt::MqttContext *mqttContext)
virtual void reset(std::size_t size=sizeof(ValueType))
UInt8 & operator=(const uint8_t &newValue)
std::size_t deserialize(iot::mqtt::MqttContext *mqttContext) override
UIntV & operator=(const uint32_t &newValue)
void reset(std::size_t size=sizeof(ValueType)) override