2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2022-03-09 21:55:30 +03:00
parent 530df018ec
commit 9a174f406f
106 changed files with 5166 additions and 4398 deletions

View File

@ -222,7 +222,7 @@ class IIPAuthPacket : Packet
if (NotEnough(offset, ends, 2))
return -dataLengthNeeded;
var length = data.GetUInt16(offset);
var length = data.GetUInt16(offset, Endian.Little);
offset += 2;
@ -311,7 +311,7 @@ class IIPAuthPacket : Packet
offset += 32;
RemoteTokenIndex = data.GetUInt64(offset);
RemoteTokenIndex = data.GetUInt64(offset, Endian.Little);
offset += 8;
}
}
@ -321,7 +321,7 @@ class IIPAuthPacket : Packet
if (NotEnough(offset, ends, 2))
return -dataLengthNeeded;
var keyLength = data.GetUInt16(offset);
var keyLength = data.GetUInt16(offset, Endian.Little);
offset += 2;
@ -369,7 +369,7 @@ class IIPAuthPacket : Packet
if (NotEnough(offset, ends, 2))
return -dataLengthNeeded;
var keyLength = data.GetUInt16(offset);
var keyLength = data.GetUInt16(offset, Endian.Little);
offset += 2;
@ -394,7 +394,7 @@ class IIPAuthPacket : Packet
ErrorCode = data[offset++];
var cl = data.GetUInt16(offset);
var cl = data.GetUInt16(offset, Endian.Little);
offset += 2;
if (NotEnough(offset, ends, cl))