Operator implicit operator
implicit operator FixedList32Bytes<T>(in FixedList64Bytes<T>)
Returns a new list that is a copy of another list.
Declaration
public static implicit operator FixedList32Bytes<T>(in FixedList64Bytes<T> other)
Parameters
| Type | Name | Description |
|---|---|---|
| FixedList64Bytes<T> | other | The list to copy. |
Returns
| Type | Description |
|---|---|
| FixedList32Bytes<T> | A new list that is a copy of the other. |
Exceptions
| Type | Condition |
|---|---|
| IndexOutOfRangeException | Throws if the other list's length exceeds the capacity of FixedList32Bytes<T>. |
implicit operator FixedList32Bytes<T>(in FixedList128Bytes<T>)
Returns a new list that is a copy of another list.
Declaration
public static implicit operator FixedList32Bytes<T>(in FixedList128Bytes<T> other)
Parameters
| Type | Name | Description |
|---|---|---|
| FixedList128Bytes<T> | other | The list to copy. |
Returns
| Type | Description |
|---|---|
| FixedList32Bytes<T> | A new list that is a copy of the other. |
Exceptions
| Type | Condition |
|---|---|
| IndexOutOfRangeException | Throws if the other list's length exceeds the capacity of FixedList32Bytes<T>. |
implicit operator FixedList32Bytes<T>(in FixedList512Bytes<T>)
Returns a new list that is a copy of another list.
Declaration
public static implicit operator FixedList32Bytes<T>(in FixedList512Bytes<T> other)
Parameters
| Type | Name | Description |
|---|---|---|
| FixedList512Bytes<T> | other | The list to copy. |
Returns
| Type | Description |
|---|---|
| FixedList32Bytes<T> | A new list that is a copy of the other. |
Exceptions
| Type | Condition |
|---|---|
| IndexOutOfRangeException | Throws if the other list's length exceeds the capacity of FixedList32Bytes<T>. |
implicit operator FixedList32Bytes<T>(in FixedList4096Bytes<T>)
Returns a new list that is a copy of another list.
Declaration
public static implicit operator FixedList32Bytes<T>(in FixedList4096Bytes<T> other)
Parameters
| Type | Name | Description |
|---|---|---|
| FixedList4096Bytes<T> | other | The list to copy. |
Returns
| Type | Description |
|---|---|
| FixedList32Bytes<T> | A new list that is a copy of the other. |
Exceptions
| Type | Condition |
|---|---|
| IndexOutOfRangeException | Throws if the other list's length exceeds the capacity of FixedList32Bytes<T>. |