Show: Delphi C++
Display Preferences

System.SysUtils.TEncoding.GetMaxCharCount

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance