# WriteFixedString4096(FixedString4096Bytes)

> Writes a FixedString4096Bytes value to the data stream.

## Definition

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

```csharp
public bool WriteFixedString4096(FixedString4096Bytes str)
```

### Parameters

**** (\[FixedString4096Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes)): The `FixedString4096Bytes` to write.

### Returns

| Type                                                          | Description                      |
| ------------------------------------------------------------- | -------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether the write was successful |
