Method ReadBytes
ReadBytes(void*, int)
Reads the specified number of bytes and advances the current read position by that number of bytes.
Declaration
public void ReadBytes(void* data, int bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | data | The read data. |
| int | bytes | The number of bytes to read. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if attempting read beyond the end of the memory block. |