AddRangeNoResize
Appends elements from a buffer to the end of this list. Increments the length by the number of appended elements.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
AddRangeNoResize(void*, int)
Appends elements from a buffer to the end of this list. Increments the length by the number of appended elements.
public void AddRangeNoResize(void* ptr, int length)
Parameters
Remarks
If the elements exceeds the capacity, throws cref="IndexOutOfRangeException", and the list is unchanged.
AddRangeNoResize(ReadOnlySpan<T>)
Copies elements from a ReadOnlySpan to the end of this list.
public void AddRangeNoResize(ReadOnlySpan<T> roSpan)
Parameters
ReadOnlySpan to copy from.