# ReadFixedString32()

> Reads a FixedString32Bytes 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 FixedString32Bytes ReadFixedString32()
```

### Returns

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