Method GetUnsafeReadOnlyPtr
GetUnsafeReadOnlyPtr()
Gets an unsafe read-only pointer to the contents of the buffer.
Declaration
public void* GetUnsafeReadOnlyPtr()
Returns
| Type | Description |
|---|---|
| void* | A typed, unsafe pointer to the first element in the buffer. |
Remarks
This function can only be called in unsafe code contexts.