System::Text::Encoding::GetMaxByteCount メソッド

Encoding::GetMaxByteCount method

指定された文字数をエンコードするために必要な最大バイト数を取得します。

virtual int System::Text::Encoding::GetMaxByteCount(int char_count)=0
パラメーター説明
char_countintエンコードする文字数。

ReturnValue

指定された文字数の任意の文字列をエンコードするのに十分なバイト数。

参照