Method GetUnsafePtr
GetUnsafePtr()
Provides an unsafe pointer to the referenced data.
Declaration
public void* GetUnsafePtr()
Returns
Type | Description |
---|---|
void* | An unsafe pointer. |
Remarks
You can only use unsafe pointers in [unsafe contexts]. [unsafe contexts]: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/unsafe-code