| Parameter | Description |
|---|---|
| dataPointer | Pointer to the data to be converted. |
| length | The count of elements. |
| allocator | The Allocator to use. |
| setTempMemoryHandle | Use temporary memory atomic safety handle. |
NativeArray<T> Returns the NativeArray that was created.
Convert existing data into a NativeArray.
The caller is still the owner of the data.