# Reinterpret<U>()

> Returns a dynamic buffer of a different type, pointing to the same buffer memory.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## Reinterpret\<T>()

```csharp
public DynamicBuffer<U> Reinterpret<U>() where U : unmanaged
```

### Returns

| Type                                                                                  | Description                                 |
| ------------------------------------------------------------------------------------- | ------------------------------------------- |
| [DynamicBuffer\<T>](/engine/7000.0/script-reference/unity/entities/dynamicbuffer1.md) | A dynamic buffer of the reinterpreted type. |

### Remarks

No memory modification occurs. The reinterpreted type must be the same size in memory as the original type.
