# Sandbox.Internal.SafeStream.Write

## Overload 1

```csharp
void Write(byte[] buffer, int offset, int count)
```

### Parameters

- `buffer` (`byte[]`)
- `offset` (`int`)
- `count` (`int`)

## Overload 2

```csharp
void Write(System.ReadOnlySpan<byte> buffer)
```

### Parameters

- `buffer` (`System.ReadOnlySpan<byte>`)

Declared in [Sandbox.Internal.SafeStream](/api/Sandbox.Internal.SafeStream).
Assembly: `Sandbox.System`.
