Base:
method
GetByteCount
System.Text.Encoding.GetByteCount(System.String)
12 references to GetByteCount
ILCompiler.MetadataTransform (1)
parent\parent\Common\Internal\NativeFormat\NativeFormatWriter.cs (1)
214int byteCount = s_stringEncoding.GetByteCount(s);
ILCompiler.ReadyToRun (1)
parent\parent\Common\Internal\NativeFormat\NativeFormatWriter.cs (1)
214int byteCount = s_stringEncoding.GetByteCount(s);
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
382int purposeLength = EncodingUtil.SecureUtf8Encoding.GetByteCount(purpose);
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\aspnetcore\src\Shared\ServerInfrastructure\StringUtilities.cs (1)
97new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true).GetByteCount(value);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCachePayload.cs (1)
170int len = Encoding.GetByteCount(value);
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\common\DirectoryControl.cs (1)
388int byteCount = s_utf8Encoding.GetByteCount(TargetDomainController);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
382return s_utf8Encoding.GetByteCount(s);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1571count += s_textEncoding.GetByteCount(closeStatusDescription);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHelpers.cs (1)
28int strEncodedLength = s_utf8EncodingStrict.GetByteCount(value);