Method GetUnsafeReadOnlyPtrAndLength
GetUnsafeReadOnlyPtrAndLength(int, out int)
The read-only unsafe pointer and length for the buffer at the given index
in the chunk
Declaration
public void* GetUnsafeReadOnlyPtrAndLength(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 |