12345678910111213141516171819202122232425 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Aitex.Core.Util
- {
- public static class ArrayUtil
- {
- public static byte[] CombomBinaryArray(byte[] srcArray1, byte[] srcArray2)
- {
-
- byte[] newArray = new byte[srcArray1.Length + srcArray2.Length];
-
- Array.Copy(srcArray1, 0, newArray, 0, srcArray1.Length);
-
- Array.Copy(srcArray2, 0, newArray, srcArray1.Length, srcArray2.Length);
- return newArray;
- }
- }
- }
|