# ArcBufferWriter.PeekSlice(int)

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

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

```csharp
public ArcBuffer PeekSlice(int count)
```

Returns a pinned slice of the provided length without marking the data referred to it as consumed.

### Parameters

- `count` (`int`): The number of bytes to consume.

### Returns

A pinned slice of unconsumed data. The caller owns the returned buffer and must dispose it.
