AddRangeNoResize
Copies elements from a buffer to the end of the list.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
AddRangeNoResize(void*, int)
Copies elements from a buffer to the end of the list.
public void AddRangeNoResize(void* ptr, int count)
Parameters
Remarks
Increments the length by . Never increases the capacity.
countAddRangeNoResize(ReadOnlySpan<T>)
Copies elements from a ReadOnlySpan to the end of this list.
public void AddRangeNoResize(ReadOnlySpan<T> roSpan)
Parameters
ReadOnlySpan to copy from.
AddRangeNoResize(UnsafeList<T>)
Copies the elements of another list to the end of this list.
public void AddRangeNoResize(UnsafeList<T> list)
Parameters
The other list to copy from.
Remarks
Increments the length by the length of the other list. Never increases the capacity.