Calculates the maximum number of bytes produced by encoding the specified number of characters.
Namespace: Renci.SshNet.CommonAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.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