Method ToArray
ToArray<T>(int, int)
Returns an array that is a copy of the linear memory data.
Declaration
public T[] ToArray<T>(int dstCount, int srcOffset = 0) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
int | dstCount | The number of elements in the array. |
int | srcOffset | The index of the first element in the data. |
Returns
Type | Description |
---|---|
T[] | Array of elements. |
Type Parameters
Name | Description |
---|---|
T | The data type of the elements. |