Method ReadBytes
ReadBytes(Void*, Int32)
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. |
| Int32 | bytes | The number of bytes to read. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if attempting read beyond the end of the memory block. |