Added todo.

This commit is contained in:
Greg Edwards 2014-09-17 11:33:25 -04:00
parent f20bd49629
commit 280a1d3a9e

View File

@ -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);