use Buffer.BlockCopy instead of Array.Copy.

This commit is contained in:
morkt
2014-11-07 17:11:11 +04:00
parent 3a2be63bf3
commit 2a7520939d
8 changed files with 13 additions and 15 deletions

View File

@@ -77,7 +77,7 @@ namespace GameRes.Utility
{
if (preceding > count)
preceding = count;
System.Array.Copy (data, src, data, dst, preceding);
System.Buffer.BlockCopy (data, src, data, dst, preceding);
src = dst;
dst += preceding;
count -= preceding;