# AddArray<T>(void*, int)

> Appends the elements of a buffer to the end of this append buffer.

## Definition

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

```csharp
public void AddArray<T>(void* ptr, int length) where T : unmanaged
```

### Parameters

**** (\[void\*]\(https\://learn.microsoft.com/dotnet/api/system.void)): A pointer to the buffer whose values will be appended.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of elements to append.

### Remarks

The values themselves are stored, not their pointers.
