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