# AddRangeNoResize

> Appends elements from a buffer to the end of this list.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## AddRangeNoResize(void\*, int)

Appends elements from a buffer to the end of this list.

```csharp
public void AddRangeNoResize(void* ptr, int count)
```

### Parameters

**** (\[void\*]\(https\://learn.microsoft.com/dotnet/api/system.void)): The buffer to copy from.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of elements to copy from the buffer.

### Remarks

Increments the length by `count` unless doing so would exceed the current capacity.

## AddRangeNoResize(ReadOnlySpan\<T>)

Copies elements from a ReadOnlySpan to the end of this list.

```csharp
public void AddRangeNoResize(ReadOnlySpan<T> roSpan)
```

### Parameters

**** (\[ReadOnlySpan\<T>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): ReadOnlySpan to copy from.

## AddRangeNoResize(UnsafeList\<T>)

Appends the elements of another list to the end of this list.

```csharp
public void AddRangeNoResize(UnsafeList<T> list)
```

### Parameters

**** (\[UnsafeList\<T>]\(/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1)): The other list to copy from.

### Remarks

Increments the length of this list by the length of the other list unless doing so would exceed the current capacity.

## AddRangeNoResize(NativeList\<T>)

Appends the elements of another list to the end of this list.

```csharp
public void AddRangeNoResize(NativeList<T> list)
```

### Parameters

**** (\[NativeList\<T>]\(/engine/6000.7/script-reference/unity/collections/nativelist1)): The other list to copy from.

### Remarks

Increments the length of this list by the length of the other list unless doing so would exceed the current capacity.
