MQTT::Header
Inherits BinData / Reference / Object
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Constants
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
invalid packet size to indicate if cached
Class methods
Performs binary encoding and decoding of the fixed header.
NOTE:: the fixed header is byte identical in 3.1.1 and 5.0, so both protocol versions build their packets on this
Instance methods
A group or bit_field captures the endianness at its declaration point, so
declaring endian after one would silently leave it system-endian. Fail loudly.
Number of bytes the fixed header occupies on the wire. Avoids serialising the header just to measure it.
NOTE:: this counts continuation bits rather than deriving the size from the decoded value. A remote host can send a non-minimal encoding, and the framing has to follow what is actually on the wire