When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
Namespace: CryptSharp.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax
Parameters
- charCount
- Type:
System Int32
The number of characters to encode.
Return Value
The maximum number of bytes produced by encoding the specified number of characters.Exceptions
Exception | Condition |
---|---|
![]() | charCount is less than zero. |
![]() | A fallback occurred (see Understanding Encodings for complete explanation)-and-![]() ![]() |
See Also