fixed: serializer resize

This commit is contained in:
2022-05-29 16:36:25 +04:00
parent 3efd73d8cb
commit 530c6109ea
+1 -1
View File
@@ -183,7 +183,7 @@ namespace Ragon.Common
if (_offset + lenght < _data.Length)
return;
var newData = new byte[_data.Length * 2];
var newData = new byte[_data.Length * 2 + lenght];
Buffer.BlockCopy(_data, 0, newData, 0, _data.Length);
_data = newData;
}