implicit operator CharSpan(string)
Declaration
public static implicit operator CharSpan(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str |
Returns
Type | Description |
---|---|
CharSpan |
implicit operator CharSpan(ArraySegment<char>)
Converts an ArraySegment<T> into a CharSpan.
Declaration
public static implicit operator CharSpan(ArraySegment<char> str)
Parameters
Type | Name | Description |
---|---|---|
ArraySegment<char> | str |
Returns
Type | Description |
---|---|
CharSpan |