Method ReadUnsafePtr
ReadUnsafePtr(int)
Returns a pointer to the next position to read from the buffer. Advances the reader some number of bytes.
Declaration
public byte* ReadUnsafePtr(int size)
Parameters
| Type | Name | Description |
|---|---|---|
| int | size | The number of bytes to advance the reader. |
Returns
| Type | Description |
|---|---|
| byte* | A pointer to the next position to read from the buffer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if the reader would advance past the end of the buffer. |