Rerfactor package parsing.

This commit is contained in:
Christian Kratky
2018-06-06 21:28:39 +02:00
parent b05cb0d2ea
commit c8bf36044b
13 changed files with 177 additions and 156 deletions
@@ -1,6 +1,6 @@
namespace MQTTnet.Serializer
{
public struct MqttFixedHeader
public class MqttFixedHeader
{
public MqttFixedHeader(byte flags, int remainingLength)
{
@@ -10,6 +10,6 @@
public byte Flags { get; }
public int RemainingLength { get; }
public int RemainingLength { get; set; }
}
}