Expand description
MQTT string implementation using BeBytes 2.3.0 size expressions
MQTT strings are prefixed with a 2-byte length field in big-endian format.
Structs§
- Mqtt
String - MQTT string with automatic size handling via
BeBytessize expressions
Functions§
- decode_
string - Decodes a UTF-8 string with a 2-byte length prefix (compatibility function)
- encode_
string - Encodes a UTF-8 string with a 2-byte length prefix (compatibility function)
- string_
len - Calculates the encoded length of a string (compatibility function)