# implicit operator FixedString512Bytes

> Returns a new FixedString512Bytes that is a copy of another string.

## Definition

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

## implicit operator FixedString512Bytes(FixedString512Byte)

Returns a new FixedString512Bytes that is a copy of another string.

```csharp
public static implicit operator FixedString512Bytes(in FixedString128Bytes fs)
```

### Parameters

**** (\[FixedString128Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring128bytes)): A FixedString128Bytes to copy.

### Returns

| Type                                                                                            | Description                                                   |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [FixedString512Bytes](/engine/6000.7/script-reference/unity/collections/fixedstring512bytes.md) | A new FixedString512Bytes that is a copy of the other string. |

## implicit operator FixedString4096Bytes(FixedString4096Byte)

Returns a new FixedString4096Bytes that is a copy of another string.

```csharp
public static implicit operator FixedString4096Bytes(in FixedString128Bytes fs)
```

### Parameters

**** (\[FixedString128Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring128bytes)): A FixedString128Bytes to copy.

### Returns

| Type                                                                                              | Description                                                    |
| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [FixedString4096Bytes](/engine/6000.7/script-reference/unity/collections/fixedstring4096bytes.md) | A new FixedString4096Bytes that is a copy of the other string. |

## implicit operator FixedString128Bytes(FixedString128Byte)

Returns a new FixedString128Bytes that is a copy of another string.

```csharp
[ExcludeFromBurstCompatTesting("Takes managed string")]
public static implicit operator FixedString128Bytes(string b)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A string to copy.

### Returns

| Type                                                                                            | Description                                                 |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [FixedString128Bytes](/engine/6000.7/script-reference/unity/collections/fixedstring128bytes.md) | A new FixedString128Bytes that is a copy of another string. |
