Method GetUnsafePtr
GetUnsafePtr()
Provides a pointer to the data stored in the array.
Declaration
public void* GetUnsafePtr()
Returns
Type | Description |
---|---|
void* | A pointer to the first element in the array. |
Remarks
You can only call this function in an [unsafe context]. [unsafe context]: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/unsafe-code