When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
Namespace: CryptSharp.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax
Parameters
- byteCount
- Type: System Int32
The number of bytes to decode.
Return Value
The maximum number of characters produced by decoding the specified number of bytes.Exceptions
Exception | Condition |
---|---|
System ArgumentOutOfRangeException | byteCount is less than zero. |
System.Text DecoderFallbackException | A fallback occurred (see Understanding Encodings for complete explanation)-and-DecoderFallback is set to DecoderExceptionFallback. |
See Also