Sign in Join
FPDoc Onlineexperiment

TUTF8Encoding.GetMaxCharCount function

Member of TUTF8EncodingpublicIn unit sysutils

Return max number of characters that can be represented by an array of bytes.

Declaration

pascal
function GetMaxCharCount(ByteCount: Integer): Integer; override

Description

GetMaxCharCount overrides GetMaxCharCount to return the maximum number of bytes needed to represent a string.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.