System.SysUtils.TEncoding.GetMaxCharCount

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 number of characters calculated.

See Also


Code Examples