2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-12-18 09:50:25 +00:00
This commit is contained in:
2020-03-25 08:52:15 +03:00
parent 8bd9b3282c
commit 836a1fdeae
23 changed files with 466 additions and 216 deletions

View File

@@ -343,6 +343,9 @@ namespace Esyur.Net.Packets
var cl = data.GetUInt32(offset);
offset += 4;
if (NotEnough(offset, ends, cl))
return -dataLengthNeeded;
Content = data.Clip(offset, cl);
offset += cl;