# UnsafeList<T>.ParallelReader

> Obsolete. Use UnsafeList<T>.ReadOnly instead.

## Definition

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

```csharp
public struct UnsafeList<T>.ParallelReader
```

## Remarks

Use [UnsafeList\<T>.AsParallelReader](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/asparallelreader.md) to create a parallel reader for a list.

## Fields

| Value                                                                                                            | Description                      |
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [Length](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelreader/length.md) | The number of elements.          |
| [Ptr](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelreader/ptr.md)       | The internal buffer of the list. |

## Methods

| Method                                                                                                                                       | Description                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [AsReadOnlySpan](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelreader/asreadonlyspan.md)             | Returns ReadOnlySpan\\\<T\\> view of this container. |
| [GetUnsafeReadOnlyPtr](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelreader/getunsafereadonlyptr.md) | Get a pointer to the data.                           |
