Method GetUnsafePtrAndLength
GetUnsafePtrAndLength(int, out int)
The unsafe pointer and length for the buffer at the given index in the chunk
Declaration
public void* GetUnsafePtrAndLength(int index, out int length)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The array index of the buffer to query |
| int | length | The buffer's length will be written here |
Returns
| Type | Description |
|---|---|
| void* | The base pointer for the buffer at array index |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if |