UnicodeEncoding: GetMaxCharCount

GetMaxCharCount

Returns the maximum number of characters than can be decoded from the number of bytes specified.



 Public Function GetMaxCharCount(
	  ByVal ByteCount As Long ) As Long

Parameters

ByteCount
[ByVal] Long. The number of bytes to be decoded.

Return Values

Long -  The maximum number of characters that can be decoded from the specified number of bytes.

See Also

Project CorLib Overview

Class UnicodeEncoding Overview