PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Char­Span Structure/Char­Span Methods/Char­Span.​From­Array­Segment Method

CharSpan.FromArraySegment Method

Converts a String into a CharSpan.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.11.0 (6.6.11.0)
Syntax
C#
public static CharSpan FromArraySegment(
	ArraySegment<char> str
)

Parameters

str
Type: System.ArraySegment<Char>

Return Value

Type: CharSpan
See Also