# Sandbox.ByteStream.EnsureCanRead

```csharp
void EnsureCanRead(int size)
```

Validates read bounds with overflow protection

### Parameters

- `size` (`int`)

Declared in [Sandbox.ByteStream](/api/Sandbox.ByteStream).
Assembly: `Sandbox.System`.
