Browse Source

fixed negative length for empty packages

release/3.x.x
Jan Eggers 6 years ago
parent
commit
5923c7c408
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/MQTTnet/Serializer/MqttPacketWriter.cs

+ 1
- 1
Source/MQTTnet/Serializer/MqttPacketWriter.cs View File

@@ -99,7 +99,7 @@ namespace MQTTnet.Serializer

public void Reset()
{
Length = 0;
Length = 5;
}

public void Seek(int offset)


Loading…
Cancel
Save