# ReadFixedString4096()

> Reads a FixedString4096Bytes value from the current stream and advances the current position of the stream by the length of the string.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public FixedString4096Bytes ReadFixedString4096()
```

### Returns

| Type                                                                                              | Description                                                                                                  |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [FixedString4096Bytes](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes.md) | A `FixedString4096Bytes` value read from the current stream, or 0 if the end of the stream has been reached. |
