[]
Reads the content of the unmanaged memory location of this instance to the specified buffer.
public void CopyTo<T>(T[] buffer, int offset, int count) where T : struct
Type | Name | Description |
---|---|---|
T[] | buffer | The buffer. |
int | offset | The offset in the array to write to. |
int | count | The number of T element to read from the memory location. |
Name | Description |
---|---|
T | Type of a buffer element |
Type | Condition |
---|---|
ArgumentNullException | buffer |
InvalidOperationException | DataPointer is Zero |
ArgumentOutOfRangeException | buffer;Total buffer size cannot be larger than size of this data pointer |