11 references to ToSpan
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (3)
379var suffixSpan = suffixBuffer.ToSpan(); 428var suffixSpan = suffixBuffer.ToSpan(); 456var trailerSpan = trailerBuffer.ToSpan();
Internal\Http\Http1Connection.cs (1)
864var currentRequestLine = requestData.Slice(0, PrefaceLineLength).ToSpan();
Internal\Http\HttpParser.cs (3)
393RejectRequestHeader(currentSlice.Slice(0, headerLength + 1).ToSpan()); 410RejectRequestHeader(currentSlice.Slice(0, headerLength + 1).ToSpan()); 424RejectRequestHeader(currentSlice.Slice(0, headerLength).ToSpan());
Internal\Http2\Http2Connection.cs (1)
666var span = preface.ToSpan();
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (3)
49var header = headerSlice.ToSpan(); 89var extendedHeaders = readableBuffer.Slice(HeaderLength, extendedHeaderLength).ToSpan(); 228var data = payload.ToSpan();