PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Char­Span Structure / Char­Span Methods

CharSpan Methods

The CharSpan type exposes the following members.

Public methodStatic memberFromArraySegment
Converts a String into a CharSpan.
Public methodStatic memberFromString
Converts a String into a CharSpan.
Public methodToCharArraySegment
Converts the current CharSpan into an ArraySegment<T> of Char. When the IsBackedByCharArray or IsNull property is true, this method does not allocate memory.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString().)
See Also