Module mqtt_binary

Module mqtt_binary 

Source
Expand description

MQTT binary data implementation using BeBytes 2.10.0 size expressions

MQTT binary data is prefixed with a 2-byte length field in big-endian format.

Structs§

MqttBinary
MQTT binary data with automatic size handling via BeBytes size expressions

Functions§

binary_len
Calculates the encoded length of binary data (compatibility function)
decode_binary
Decodes binary data with a 2-byte length prefix (compatibility function)
encode_binary
Encodes binary data with a 2-byte length prefix (compatibility function)
encode_optional_binary
Encodes optional binary data (compatibility function)
optional_binary_len
Calculates the encoded length of optional binary data (compatibility function)