hivemq-mqtt-client-dotnet
hivemq-mqtt-client-dotnet copied to clipboard
Refactor Fill up message loop
The following loop will work only on the happy path, I recommend a refactor to account when the if is false.
https://github.com/hivemq/hivemq-mqtt-client-dotnet/blob/cab3dfb745a4166a2a6d7087ec10b4c0b0afd94d/Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L184