Method GetUnsafePtrAndLength
GetUnsafePtrAndLength(Int32, out Int32)
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 |
|---|---|---|
| Int32 | index | The array index of the buffer to query |
| Int32 | 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 |