Beispiel #1
0
 /// <summary>
 /// Allocates and return the arrays for a total of <paramref name="size"/> <see cref="T"/> elements
 /// </summary>
 /// <param name="size">The total size of the arrays to return</param>
 /// <returns></returns>
 public BufferPtr[] Allocate(int size)
 {
     return(_standard.Allocate(size).Select(ptr => new BufferPtr(ptr, _standard.BufferSize)).ToArray());
 }
Beispiel #2
0
 public T[][] Allocate(int size)
 {
     return(_standard.Allocate(size));
 }