System.SysUtils.TUTF7Encoding.GetMaxCharCount

From RAD Studio API Documentation
Revision as of 23:09, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 TUTF7Encoding

Description

Calculates the maximum number of characters generated to decode a specified number of bytes.

GetMaxCharCount calculates the maximum number of characters generated to decode a ByteCount number of bytes. The following table lists the parameters expected by this method and their description.



Parameter Description

ByteCount

A positive integer specifying the number of bytes.



The return value is the calculated number of characters.

See Also