# JournalBufferReader.Peek(int, Span&lt;byte&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalbufferreader/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalbufferreader/methods/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournalBufferReader.cs#L44-L57)

```csharp
public ReadOnlySpan<byte> Peek(int count, Span<byte> destination)
```

Gets a span containing the next `count` bytes without reading them.

### Parameters

- `count` (`int`): The number of bytes to read.
- `destination` (`Span<byte>`): Temporary storage used if the requested bytes are not contiguous.

### Returns

A span containing the requested bytes. The returned span must not be retained after the consumer returns.
