mirror of
https://github.com/mm201/GamestatsBase.git
synced 2026-09-07 10:06:08 -05:00
Added todo.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user