Class ArrayPool<T>
public class ArrayPool<T> where T : struct
Type Parameters
T
- Inheritance
-
ArrayPool<T>
- Derived
Fields
Empty
public static readonly T[] Empty
Field Value
- T[]
Methods
Allocate(int)
public virtual T[] Allocate(int size)
Parameters
size
int
Returns
- T[]
Clear()
public virtual void Clear()
Free(T[])
public virtual void Free(T[] array)
Parameters
array
T[]