ToCharArraySegment()
Converts the current CharSpan into an ArraySegment<T> of char.
When the IsBackedByCharArray or IsNull property is true
, this method does not allocate memory.
Declaration
public ArraySegment<char> ToCharArraySegment()
Returns
Type | Description |
---|---|
ArraySegment<char> |