API:System.SysUtils.TMBCSEncoding.GetMaxCharCount
Delphi
function GetMaxCharCount(ByteCount: Integer): Integer; override;
C++
virtual int __fastcall GetMaxCharCount(int ByteCount);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TMBCSEncoding |
Description
Calculates the maximum number of characters generated to decode a specified number of bytes.
System.SysUtils.TMBCSEncoding.GetMaxCharCount inherits from System.SysUtils.TEncoding.GetMaxCharCount. All content below this line refers to System.SysUtils.TEncoding.GetMaxCharCount.
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.