| Parameter | Description |
|---|---|
| ptr | A buffer. |
| length | The number of elements from the buffer to append. |
Appends elements from a buffer to the end of this list. Increments the length by the number of appended elements.
If the elements exceeds the capacity, throws cref="IndexOutOfRangeException", and the list is unchanged.
| Parameter | Description |
|---|---|
| roSpan | ReadOnlySpan to copy from. |
Copies elements from a ReadOnlySpan to the end of this list.