Module io

Module io 

Expand description

Low-level I/O helpers for reading and writing MQTT packets.

Functionsยง

read_fixed_header
Read bytes one at a time until a complete fixed header is decoded.
write_packet
Encode and write a full MQTT packet to the writer, then flush.