# ArcBuffer.GetEnumerator

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbuffer/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbuffer/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Buffers/ArcBufferWriter.cs#L1495)

```csharp
public readonly SpanEnumerator GetEnumerator()
```

Returns an enumerator which can be used to enumerate the span segments referenced by this instance.

### Returns

An enumerator for the data contained in this instance.
