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