# AsFixedList()

> Returns a reference to a FixedList512Bytes\<byte\> representation of this string.

## Definition

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

```csharp
public ref FixedList512Bytes<byte> AsFixedList()
```

### Returns

| Type                                                                                                | Description                                                            |
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [FixedList512Bytes\<byte>](/engine/6000.7/script-reference/unity/collections/fixedlist512bytes1.md) | A ref to a FixedListByte512 representation of the FixedString512Bytes. |

### Remarks

The referenced FixedListByte512 is the very same bytes as the original FixedString512Bytes, so it is only valid as long as the original FixedString512Bytes is valid.
