ASCIIEncoding: GetMaxByteCount

GetMaxByteCount

Returns the maximum number of bytes that can be created from a specific number of characters.



 Public Function GetMaxByteCount(
	  ByVal CharCount As Long ) As Long

Parameters

CharCount
[ByVal] Long. The number of characters to be encoded.

Return Values

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

See Also

Project CorLib Overview

Class ASCIIEncoding Overview

Encoding