21 references to Slice
InMemory.FunctionalTests (1)
RequestTests.cs (1)
1243httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Slice(1).Start, readResult.Buffer.End);
Microsoft.AspNetCore.Components.Server (1)
src\SignalR\common\Shared\BinaryMessageParser.cs (1)
71buffer = buffer.Slice(numBytes + (int)length);
Microsoft.AspNetCore.Server.IIS (1)
Core\IO\AsyncIOEngine.cs (1)
81data = data.Slice(length);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
393buffer = buffer.Slice(charsToByteCRExclusive + 1);
Internal\Http2\Http2FrameWriter.cs (1)
762remainingData = remainingData.Slice(dataPayloadLength);
Internal\Http3\Http3FrameWriter.cs (1)
222remainingData = remainingData.Slice(dataPayloadLength);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
HttpParserTests.cs (1)
266Assert.Equal(buffer.Length, buffer.Slice(reader.Consumed).Length);
Microsoft.AspNetCore.SignalR.Client.Tests (1)
src\SignalR\common\Shared\TextMessageParser.cs (1)
27buffer = buffer.Slice(index + 1);
Microsoft.AspNetCore.SignalR.Common (2)
src\SignalR\common\Shared\TextMessageParser.cs (1)
27buffer = buffer.Slice(index + 1);
src\SignalR\common\Shared\Utf8BufferTextReader.cs (1)
88_utf8Buffer = _utf8Buffer.Slice(bytesUsed);
Microsoft.AspNetCore.SignalR.Common.Tests (1)
src\SignalR\common\Shared\BinaryMessageParser.cs (1)
71buffer = buffer.Slice(numBytes + (int)length);
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
src\SignalR\common\Shared\BinaryMessageParser.cs (1)
71buffer = buffer.Slice(numBytes + (int)length);
src\SignalR\common\Shared\TextMessageParser.cs (1)
27buffer = buffer.Slice(index + 1);
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
src\SignalR\common\Shared\TextMessageParser.cs (1)
27buffer = buffer.Slice(index + 1);
src\SignalR\common\Shared\Utf8BufferTextReader.cs (1)
88_utf8Buffer = _utf8Buffer.Slice(bytesUsed);
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\SignalR\common\Shared\BinaryMessageParser.cs (1)
71buffer = buffer.Slice(numBytes + (int)length);
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (2)
src\SignalR\common\Shared\TextMessageParser.cs (1)
27buffer = buffer.Slice(index + 1);
src\SignalR\common\Shared\Utf8BufferTextReader.cs (1)
88_utf8Buffer = _utf8Buffer.Slice(bytesUsed);
Microsoft.AspNetCore.WebUtilities (1)
FormPipeReader.cs (1)
143buffer = buffer.Slice(consumed);
System.Text.Json (2)
System\Text\Json\Reader\Utf8JsonReader.cs (1)
665localSequence = localSequence.Slice(matchedSoFar);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
90originalSequence.Slice(resumptionByteIndex),