System.SysUtils.TEncoding.GetMaxCharCount
Delphi
function GetMaxCharCount(ByteCount: Integer): Integer; virtual; abstract;
C++
virtual int __fastcall GetMaxCharCount(int ByteCount) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TEncoding |
Description
Calculates the maximum number of characters generated to decode a specified number of bytes.
TEncoding.GetMaxCharCount calculates the maximum number of characters generated to decode ByteCount number of bytes.
The Return Value is the calculated number of characters.