fixed negative length for empty packages

This commit is contained in:
Jan Eggers
2018-06-25 14:52:31 +02:00
parent 7dfb6fdc52
commit 5923c7c408
@@ -99,7 +99,7 @@ namespace MQTTnet.Serializer
public void Reset()
{
Length = 0;
Length = 5;
}
public void Seek(int offset)