System.SysUtils.TEncoding.GetMaxByteCount

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetMaxByteCount(CharCount: Integer): Integer; virtual; abstract;

C++

virtual int __fastcall GetMaxByteCount(int CharCount) = 0 ;

プロパティ

種類 可視性 ソース ユニット
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TEncoding

説明

指定された数の文字をデコードするために生成される最大バイト数を計算します。

TEncoding.GetMaxByteCount は、CharCount で指定した数の文字をデコードするために生成される最大バイト数を計算します。

CharCount は、正の整数でなければなりません。

戻り値 は、計算されたバイト数です。

関連項目