# ArcBufferReader.PeekSlice(int)

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

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

```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.
