Base:
method
GetByteCount
System.Text.Encoding.GetByteCount(System.String)
17 references to GetByteCount
http2cat (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
IIS.LongTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
377int purposeLength = EncodingUtil.SecureUtf8Encoding.GetByteCount(purpose);
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCachePayload.cs (1)
164int len = Encoding.GetByteCount(value);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
435return s_utf8Encoding.GetByteCount(s);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1524count += s_textEncoding.GetByteCount(closeStatusDescription);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
28int strEncodedLength = s_utf8EncodingStrict.GetByteCount(value);