NativeArray Unsafe Utility.
ConvertExistingDataToNativeArray | Converts an existing buffer to a NativeArray. |
GetAtomicSafetyHandle | Returns the AtomicSafetyHandle that is used for safety control on the NativeArray. |
GetUnsafeBufferPointerWithoutChecks | Gets the pointer to the data owner by the NativeArray, without performing checks. |
GetUnsafePtr | Gets the pointer to the memory buffer owner by the NativeArray, performing checks on whether the native array can be written to. |
GetUnsafeReadOnlyPtr | Gets a pointer to the memory buffer of the NativeArray or NativeArray.ReadOnly. |
SetAtomicSafetyHandle | Sets a new AtomicSafetyHandle for the provided NativeArray. |