Base:
method
GetMaxByteCount
System.Text.Encoding.GetMaxByteCount(System.Int32)
1 override of GetMaxByteCount
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.Sealed.cs (1)
74public override int GetMaxByteCount(int charCount)
7 references to GetMaxByteCount
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (1)
511bytes = new byte[s_validatingUTF8.GetMaxByteCount(ccount)];
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
551int maxBytes = HybridCachePayload.Encoding.GetMaxByteCount(maxChars);
Internal\HybridCachePayload.cs (1)
97MaxVarint64Length + Encoding.GetMaxByteCount(charCount);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
519return s_utf8Encoding.GetMaxByteCount(charCount);
System.Private.DataContractSerialization (1)
System\Xml\EncodingStreamWrapper.cs (1)
473bytes = new byte[DataContractSerializer.ValidatingUTF8.GetMaxByteCount(ccount)];
System.Security.Cryptography (1)
System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs (1)
279int maxEncodedSize = s_throwingUtf8Encoding.GetMaxByteCount(password.Length);
System.Text.Json (1)
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (1)
26int maxBytes = JsonReaderHelper.s_utf8Encoding.GetMaxByteCount(propertyName.Length);