Method GetUnsafeReadOnlyPtr
GetUnsafeReadOnlyPtr(ref DataStreamReader)
Get a pointer to the stream's data. Note that the pointer always points at the beginning of the data, no matter how much was read from the stream.
Declaration
public static void* GetUnsafeReadOnlyPtr(this ref DataStreamReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataStreamReader | reader | Data stream reader. |
Returns
Type | Description |
---|---|
void* | A pointer to the stream's data. |
Remarks
Performs a job safety check for read-only access.