mirror of
https://github.com/mm201/GamestatsBase.git
synced 2026-04-24 15:08:18 -05:00
Added todo.
This commit is contained in:
parent
f20bd49629
commit
280a1d3a9e
|
|
@ -195,6 +195,8 @@ namespace GamestatsBase
|
|||
}
|
||||
}
|
||||
|
||||
// todo: we can save another copy by doing this trimming in
|
||||
// DecryptData.
|
||||
int trimLength = (RequestVersion != GamestatsRequestVersions.Version3) ? 4 : 8;
|
||||
byte[] dataTrim = new byte[data.Length - trimLength];
|
||||
Array.Copy(data, trimLength, dataTrim, 0, data.Length - trimLength);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user