mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
fixed negative length for empty packages
This commit is contained in:
@@ -99,7 +99,7 @@ namespace MQTTnet.Serializer
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
Length = 0;
|
||||
Length = 5;
|
||||
}
|
||||
|
||||
public void Seek(int offset)
|
||||
|
||||
Reference in New Issue
Block a user