# ArcBufferPage.AsSpan(int, int)

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

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

```csharp
public Span<byte> AsSpan(int offset, int length)
```

Gets a span pointing to the underlying array, starting from the provided offset.

### Parameters

- `offset` (`int`): The offset.
- `length` (`int`): The length.

### Returns

The span.
