# Sandbox.Internal.SafeStreamBridge.Read

## Overload 1

```csharp
int Read(byte[] buffer, int offset, int count)
```

### Parameters

- `buffer` (`byte[]`)
- `offset` (`int`)
- `count` (`int`)

### Returns

`int`

## Overload 2

```csharp
int Read(System.Span<byte> buffer)
```

### Parameters

- `buffer` (`System.Span<byte>`)

### Returns

`int`

Declared in [Sandbox.Internal.SafeStreamBridge](/api/Sandbox.Internal.SafeStreamBridge).
Assembly: `Sandbox.System`.
