TEncoding.GetMaxCharCount function
Return the maximum number of characters that can be represented in a number of bytes.
Declaration
function GetMaxCharCount(ByteCount: Integer): Integer; virtual
; abstractDescription
GetMaxCharCount returns the theoretical maximum number of characters that can be represented
in a buffer of length
ByteCount in the given encoding. Note that the actual number of
characters that can be represented may well be much less and depends on the encoding and the actual characters.
This is an abstract method, implemented by descendents of TEncoding.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
