API:System.SysUtils.TMBCSEncoding.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 TMBCSEncoding

説明

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

System.SysUtils.TMBCSEncoding.GetMaxCharCount は System.SysUtils.TEncoding.GetMaxCharCount を継承しています。以下の内容はすべて System.SysUtils.TEncoding.GetMaxCharCount を参照しています。

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

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

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

関連項目

コード サンプル