Use the data converter only when creating packets.

This commit is contained in:
Christian
2021-02-19 21:45:23 +01:00
parent cfc4ebe6a3
commit ed520455d0
12 changed files with 153 additions and 96 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
public sealed class MqttPingRespPacket : MqttBasePacket
{
// This is a minor performance improvement.
public static MqttPingRespPacket Instance = new MqttPingRespPacket();
public static readonly MqttPingRespPacket Instance = new MqttPingRespPacket();
public override string ToString()
{