Function sage_mqtt::codec::read_binary_data [−][src]
Expand description
Read from the given reader for binary dataset according to Binary Data type
MQTT5 specifications which consists in an two bytes integer representing
the data size in bytes followed with the data as bytes.
In case of success, returns a Vec<u8>