[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns the maximum number of bytes needed to represent a string
Source position: sysencodingh.inc line 86
public function TEncoding.GetMaxByteCount( |
CharCount: Integer |
):Integer; virtual; abstract; |
GetMaxByteCount returns the maximum number of bytes needed to represent a string of CharCount characters in the given encoding.
This is an abstract method, implemented by descendents of TEncoding.
|
Return the maximum number of characters that can be represented in a number of bytes |