Operator implicit operator
implicit operator FixedString4096Bytes(string)
Returns a new FixedString4096Bytes that is a copy of another string.
Declaration
[ExcludeFromBurstCompatTesting("Takes managed string")]
public static implicit operator FixedString4096Bytes(string b)
Parameters
Type | Name | Description |
---|---|---|
string | b | A string to copy. |
Returns
Type | Description |
---|---|
FixedString4096Bytes | A new FixedString4096Bytes that is a copy of another string. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the string to copy's length exceeds the capacity of FixedString4096Bytes. |