6 references to LF
Microsoft.Extensions.AI.OpenAI (6)
src\Shared\ServerSentEvents\SseParser_1.cs (6)
137
_newlineIndex = _lineBuffer.AsSpan(searchOffset, searchLength).IndexOfAny(CR,
LF
);
142
if (_lineBuffer[_newlineIndex] is
LF
|| // the newline is LF
217
_newlineIndex = _lineBuffer.AsSpan(searchOffset, searchLength).IndexOfAny(CR,
LF
);
222
if (_lineBuffer[_newlineIndex] is
LF
|| // newline is LF
394
(remainder[0] is
LF
|| (remainder[0] is CR && remainder.Length > 1)))
416
_dataBuffer[_dataLength++] =
LF
;