🐛 lost piece of data

This commit is contained in:
2023-10-12 15:35:40 +03:00
parent 85b75766a9
commit 689a240e5b
+2
View File
@@ -405,6 +405,8 @@ namespace Ragon.Protocol
public byte[] ToArray() public byte[] ToArray()
{ {
Write(1, 1);
var data = new byte[Length]; var data = new byte[Length];
int bucketsCount = (_write >> 5) + 1; int bucketsCount = (_write >> 5) + 1;
int length = data.Length; int length = data.Length;