Returns the maximum number of characters produced by decoding the specified number of bytes
as Unicode-encoded characters, regardless of the actual byte values.
[Edit]
public override int GetMaxCharCount (int byteCount) |
|
Parameters
- byteCount
- A int specifies the number of bytes to decode as Unicode-encoded characters.
[Edit]
Returns
A int
containing the maximum number of characters that would be produced by
decoding byteCount bytes as Unicode-encoded characters.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0