# ArcBufferWriter.Peek(Span&lt;byte&gt;)

[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#L312-L323)

```csharp
public ReadOnlySpan<byte> Peek(scoped in Span<byte> destination)
```

Attempts to read the provided number of bytes from the buffer.

### Parameters

- `destination` (`Span<byte>`): The destination, which may be used to hold the requested data if the data needs to be copied.

### Returns

A span of either zero length, if the data is unavailable, or at least the requested length if the data is available.
