System.SysUtils.TUnicodeEncoding.GetMaxCharCount

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

Delphi

function GetMaxCharCount(ByteCount: Integer): Integer; override;

C++

virtual int __fastcall GetMaxCharCount(int ByteCount);

プロパティ

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

説明

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

GetMaxCharCount は、ByteCount で指定されたバイト数をデコードして生成される最大文字数を計算します。 このメソッドで利用できるパラメータとその説明を以下の表に示します。



パラメータ 説明

ByteCount

バイト数を指定する正の整数。



戻り値は、計算された文字数です。

関連項目