Table of Contents

Method EnumerateLines

Namespace
Zyl.ExSpans
Assembly
ExSpans.dll

EnumerateLines(ReadOnlyExSpan<char>)

Returns an enumeration of lines over the provided span.

public static ExSpanLineEnumerator EnumerateLines(this ReadOnlyExSpan<char> span)

Parameters

span ReadOnlyExSpan<char>

Returns

ExSpanLineEnumerator

Remarks

It is recommended that protocol parsers not utilize this API. See the documentation for ReplaceLineEndings() for more information on how newline sequences are detected.

EnumerateLines(ExSpan<char>)

Returns an enumeration of lines over the provided span.

public static ExSpanLineEnumerator EnumerateLines(this ExSpan<char> span)

Parameters

span ExSpan<char>

Returns

ExSpanLineEnumerator

Remarks

It is recommended that protocol parsers not utilize this API. See the documentation for ReplaceLineEndings() for more information on how newline sequences are detected.