Function SpanExtensions.AsUnsafeSpanNoChecks
AsUnsafeSpanNoChecks<T>
(this NativeArray<T> arr)
Converts a NativeArray to a span without performing any checks.
Public
Static
UnsafeSpan<T> AsUnsafeSpanNoChecks<T> (
this NativeArray<T> | arr |
Converts a NativeArray to a span without performing any checks.
The span is a view of the array memory, so do not dispose the array while the span is in use. This method does not perform any checks to ensure that the array is safe to write to or read from.