# Sandbox.SandboxSystemExtensions.ReadNullTerminatedString

```csharp
static string ReadNullTerminatedString(System.IO.Stream stream, long offset)
```

Read a null terminated string from the stream, at given offset.

### Parameters

- `stream` (`System.IO.Stream`): The stream to read from.
- `offset` (`long`): Offset where to start reading, from the beginning of the stream.

### Returns

`string`

Declared in [Sandbox.SandboxSystemExtensions](/api/Sandbox.SandboxSystemExtensions).
Assembly: `Sandbox.System`.
