ASCIIEncoding: 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.

Remarks

See Also

Project VBCorLib Overview Class ASCIIEncoding Overview ASCIIEncoding Properties ASCIIEncoding Methods GetMaxByteCount GetPreamble Encoding