Class UnmanagedArrayExtensions
public static class UnmanagedArrayExtensions
- Inheritance
-
UnmanagedArrayExtensions
Methods
Fill<T>(UnmanagedArray<T>, T, int, int)
Fill the array with specific value.
public static void Fill<T>(this UnmanagedArray<T> unmanagedArray, T value, int index, int fillLength) where T : struct
Parameters
unmanagedArray
UnmanagedArray<T>The destination to fill.
value
TThe value used to fill.
index
intThe start index of the destination to fill.
fillLength
intThe filling length.
Type Parameters
T
The type param of UnmanagedArray