Class UnsafeUtilityExtensions
Provides utility methods for unsafe, untyped buffers.
Namespace: Unity.Collections.LowLevel.Unsafe
Assembly: solution.dll
Syntax
public static class UnsafeUtilityExtensions
Methods
| Name | Description |
|---|---|
| AddressOf<T>(in T) | Returns the address of a read-only reference. |
| AsRef<T>(in T) | Returns a read-write reference from a read-only reference.
|
| ReadArrayElementBoundsChecked<T>(void*, int, int) | Reads an element from a buffer after bounds checking. |
| WriteArrayElementBoundsChecked<T>(void*, int, T, int) | Writes an element to a buffer after bounds checking. |