# FixedString4096Bytes.Enumerator

> An enumerator over the characters (not bytes) of a FixedString4096Bytes.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule
* **Implements:** [IEnumerator](https://learn.microsoft.com/dotnet/api/system.collections.ienumerator)

```csharp
public struct FixedString4096Bytes.Enumerator : IEnumerator
```

## Remarks

In an enumerator's initial state, [FixedString4096Bytes.Enumerator.Current](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/current.md) is not valid to read. The first [FixedString4096Bytes.Enumerator.MoveNext](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/movenext.md) call advances the enumerator's index to the first character.

## Constructors

| Constructor                                                                                                                                     | Description                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [Enumerator(Unity.Collections.FixedString4096Bytes)](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/ctor.md) | Initializes and returns an instance of FixedString4096Bytes.Enumerator. |

## Properties

| Property                                                                                                | Description            |
| ------------------------------------------------------------------------------------------------------- | ---------------------- |
| [Current](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/current.md) | The current character. |

## Methods

| Method                                                                                                    | Description                                    |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [Dispose](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/dispose.md)   | Does nothing.                                  |
| [MoveNext](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/movenext.md) | Advances the enumerator to the next character. |
| [Reset](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes/enumerator/reset.md)       | Resets the enumerator to its initial state.    |
