Method AddRange
AddRange(void*, int)
Adds elements from a buffer to this list.
Declaration
public void AddRange(void* ptr, int length)
Parameters
Type | Name | Description |
---|---|---|
void* | ptr | A pointer to the buffer. |
int | length | The number of elements to add to the list. |
AddRange(UnsafePtrList<T>)
Copies the elements of another list to the end of this list.
Declaration
public void AddRange(UnsafePtrList<T> list)
Parameters
Type | Name | Description |
---|---|---|
UnsafePtrList<T> | list | The other list to copy from. |
Remarks
Increments the length by the length of the other list. Increases the capacity if necessary.