# AsSpan()

> Returns a ReadOnlySpan_1 view of the blob array data.

## Definition

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

```csharp
public ReadOnlySpan<T> AsSpan()
```

### Returns

| Type                                                                             | Description                               |
| -------------------------------------------------------------------------------- | ----------------------------------------- |
| [ReadOnlySpan\<T>](https://learn.microsoft.com/dotnet/api/system.readonlyspan-1) | A read-only span over the array elements. |
