# FixedString64Bytes

> Initializes and returns an instance of FixedString64Bytes with the characters copied from a string.

## Definition

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

## FixedString64Bytes(string)

Initializes and returns an instance of FixedString64Bytes with the characters copied from a string.

```csharp
[ExcludeFromBurstCompatTesting("Takes managed string")]
public FixedString64Bytes(string source)
```

### Parameters

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

## FixedString64Bytes(Rune, int)

Initializes and returns an instance of FixedString64Bytes with a single character repeatedly appended some number of times.

```csharp
public FixedString64Bytes(Unicode.Rune rune, int count = 1)
```

### Parameters

**** (\[Rune]\(/engine/6000.7/script-reference/unity/collections/unicode/rune)): The Unicode.Rune to repeat.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of times to repeat the character. Default is 1.

## FixedString64Bytes(ReadOnly)

Initializes and returns an instance of FixedString64Bytes with the characters copied from a string.

```csharp
public FixedString64Bytes(NativeText.ReadOnly other)
```

### Parameters

**** (\[ReadOnly]\(/engine/6000.7/script-reference/unity/collections/nativetext/readonly)):&#x20;

## FixedString64Bytes(UnsafeText)

Initializes and returns an instance of FixedString64Bytes that is a copy of another string.

```csharp
public FixedString64Bytes(in UnsafeText other)
```

### Parameters

**** (\[UnsafeText]\(/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafetext)): The UnsafeText to copy.

## FixedString64Bytes(FixedString32Bytes)

Initializes and returns an instance of FixedString64Bytes that is a copy of another string.

```csharp
public FixedString64Bytes(in FixedString32Bytes other)
```

### Parameters

**** (\[FixedString32Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring32bytes)): The string to copy.

## FixedString64Bytes(FixedString64Bytes)

Initializes and returns an instance of FixedString64Bytes that is a copy of another string.

```csharp
public FixedString64Bytes(in FixedString64Bytes other)
```

### Parameters

**** (\[FixedString64Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring64bytes)): The string to copy.

## FixedString64Bytes(FixedString128Bytes)

Initializes and returns an instance of FixedString64Bytes that is a copy of another string.

```csharp
public FixedString64Bytes(in FixedString128Bytes other)
```

### Parameters

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

## FixedString64Bytes(FixedString512Bytes)

Initializes and returns an instance of FixedString64Bytes that is a copy of another string.

```csharp
public FixedString64Bytes(in FixedString512Bytes other)
```

### Parameters

**** (\[FixedString512Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring512bytes)): The string to copy.

## FixedString64Bytes(FixedString4096Bytes)

Initializes and returns an instance of FixedString64Bytes that is a copy of another string.

```csharp
public FixedString64Bytes(in FixedString4096Bytes other)
```

### Parameters

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