示例#1
0
        public static byte[] Copy(uint value, int count)
        {
            var srcArray = BitConverter.GetBytes(value);

            return(Memory.Copy(srcArray, 0, (sizeof(uint) * count)));
        }
示例#2
0
 public static byte[] Copy(byte[] srcArray, int count)
 {
     return(Memory.Copy(srcArray, 0, count));
 }