160 references to ReadOnlySpan
http2cat (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (2)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Middleware\Internal\LoggingStream.cs (4)
81Log("Read", new ReadOnlySpan<byte>(buffer, offset, read));
101Log("ReadAsync", new ReadOnlySpan<byte>(buffer, offset, read));
128Log("Write", new ReadOnlySpan<byte>(buffer, offset, count));
140Log("WriteAsync", new ReadOnlySpan<byte>(buffer, offset, count));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.Caching.Hybrid (4)
Microsoft.Extensions.Caching.Hybrid.Tests (2)
Microsoft.Extensions.Caching.SqlServer (2)
Microsoft.Extensions.Logging.Console (1)
Shared (1)
System.Collections.Immutable (3)
System.Console (1)
System.Data.Common (1)
System.Formats.Asn1 (4)
System.Formats.Cbor (2)
System.IO.Compression (1)
System.IO.Compression.Brotli (3)
System.IO.Hashing (2)
System.IO.Packaging (1)
System.IO.Pipes (1)
System.Linq (1)
System.Memory (1)
System.Net.Http (6)
System.Net.Primitives (1)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.Security (1)
System.Net.ServerSentEvents (1)
System.Net.Sockets (1)
System.Net.WebClient (1)
System.Net.WebSockets (1)
System.Private.CoreLib (35)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (4)
2340return ToBase64String(new ReadOnlySpan<byte>(inArray, offset, length), options);
2414ToBase64CharsLargeNoLineBreaks(new ReadOnlySpan<byte>(inArray, offsetIn, length), outArray.AsSpan(offsetOut), charLengthRequired);
3070return ToHexString(new ReadOnlySpan<byte>(inArray, offset, length));
3147return ToHexStringLower(new ReadOnlySpan<byte>(inArray, offset, length));
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (5)
464new ReadOnlySpan<byte>(byteBuffer, n, _byteLen - n).CopyTo(byteBuffer);
751charsRead = _decoder.GetChars(new ReadOnlySpan<byte>(_byteBuffer, 0, _byteLen), userBuffer, flush: false);
770charsRead = _decoder.GetChars(new ReadOnlySpan<byte>(_byteBuffer, 0, _byteLen), userBuffer, flush: true);
1151n = _decoder.GetChars(new ReadOnlySpan<byte>(tmpByteBuffer, 0, _byteLen), buffer.Span.Slice(charsRead), flush: false);
1215n = _decoder.GetChars(new ReadOnlySpan<byte>(tmpByteBuffer, 0, _byteLen), buffer.Span.Slice(charsRead), flush: false);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (5)
921new ReadOnlySpan<char>(chunk.m_ChunkChars, chunkStartIndex, chunkCount).CopyTo(destination.Slice(curDestIndex));
2038ReadOnlySpan<char> chunk = new ReadOnlySpan<char>(sbChunk.m_ChunkChars, 0, chunk_length);
2677new ReadOnlySpan<char>(chunk.m_ChunkChars, 0, copyCount1).CopyTo(newChunk.m_ChunkChars);
2683new ReadOnlySpan<char>(chunk.m_ChunkChars, copyCount1, copyCount2).CopyTo(chunk.m_ChunkChars);
2794new ReadOnlySpan<char>(endChunk.m_ChunkChars, endIndexInChunk, copyCount).CopyTo(endChunk.m_ChunkChars.AsSpan(copyTargetIndexInChunk));
System.Private.DataContractSerialization (1)
System.Security.Cryptography (25)
System\Security\Cryptography\DSA.cs (3)
90CryptographicOperations.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
207return SignDataCore(new ReadOnlySpan<byte>(data, offset, count), hashAlgorithm, signatureFormat);
381return VerifyDataCore(new ReadOnlySpan<byte>(data, offset, count), signature, hashAlgorithm, signatureFormat);
System\Security\Cryptography\ECDsa.cs (3)
121return SignDataCore(new ReadOnlySpan<byte>(data, offset, count), hashAlgorithm, signatureFormat);
802new ReadOnlySpan<byte>(data, offset, count),
993CryptographicOperations.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
System\Security\Cryptography\RSA.cs (3)
97CryptographicOperations.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
689return VerifyHash(new ReadOnlySpan<byte>(hash, 0, hashLength), signature, hashAlgorithm, padding);
791return RSAKeyFormatHelper.WritePkcs8PrivateKey(new ReadOnlySpan<byte>(rented, 0, pkcs1Size));
System.Security.Cryptography.Pkcs (2)
System.ServiceModel.NetFramingBase (1)
System.Text.Json (1)
System.Windows.Forms (2)