Open sandboxFocus

Method FromArraySegment

FromArraySegment(ArraySegment<char>)

Converts a string into a CharSpan.

Declaration
public static CharSpan FromArraySegment(ArraySegment<char> str)
Parameters
Type Name Description
ArraySegment<char> str
Returns
Type Description
CharSpan