# ArcBufferPage.AsMemory(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#L904-L910)

```csharp
public Memory<byte> AsMemory(int offset)
```

Creates a new memory region over the portion of the target page beginning at a specified position.

### Parameters

- `offset` (`int`): The offset into the array to return memory from.

### Returns

The memory region.
