示例#1
0
 public static void UpdateProxyArray <T>(this T[] collection, ProxyArray <T> proxyArray, uint elementCount)
     where T : unmanaged
 {
     for (int i = 0; i < (int)elementCount; i++)
     {
         collection[i] = proxyArray[i];
     }
 }
示例#2
0
 /// <inheritdoc />
 public bool Equals(ProxyArray <T> other) =>
 buffer == other.buffer &&
 typeSize == other.typeSize;