mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
Rerfactor package parsing.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user