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

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.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.
