6 references to Slice
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
387
var charsToByteCRExclusive = buffer.
Slice
(0, extensionCursor).Length;
Internal\Http3\Http3ControlStream.cs (3)
288
Debug.Assert(framePayload.
Slice
(0, consumed).Length == framePayload.Length);
295
incomingFrame.RemainingLength -= framePayload.
Slice
(0, consumed).Length;
486
if (incomingFrame.RemainingLength > payload.
Slice
(0, consumed).Length)
Microsoft.AspNetCore.SignalR.Common (1)
src\aspnetcore\src\SignalR\common\Shared\TextMessageParser.cs (1)
46
payload = buffer.
Slice
(0, position.Value);
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
src\aspnetcore\src\SignalR\common\Shared\TextMessageParser.cs (1)
46
payload = buffer.
Slice
(0, position.Value);