System::Text::ICUEncoder::Convert メソッド

ICUEncoder::Convert(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int, int, bool, int&, int&, bool&) method

文字をバイトに変換します。

virtual void System::Text::ICUEncoder::Convert(ArrayPtr<char_t> chars, int charIndex, int charCount, ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed)
パラメーター説明
charsArrayPtr<char_t>エンコードする文字。
charIndexint入力バッファのオフセット。
charCountint入力バッファのサイズ。
バイトArrayPtr<uint8_t>出力バイト バッファ。
byteIndexint出力配列のオフセット。
byteCountint目的配列のサイズ。
flushbooltrue の場合、計算後に内部エンコーダの状態をクリアします。
charsUsedint&読み取った文字数を格納する変数への参照。
bytesUsedint&書き込まれたバイト数を格納する変数への参照。
completedbool&入力バッファが枯渇した場合は true、そうでない場合は false に設定される変数への参照。

参照

ICUEncoder::Convert(const char_t *, int, uint8_t *, int, bool, int&, int&, bool&) method

文字をバイトに変換します。

virtual void System::Text::ICUEncoder::Convert(const char_t *chars, int charCount, uint8_t *bytes, int byteCount, bool flush, int &charsUsed, int &bytesUsed, bool &completed)
パラメーター説明
charsconst char_t *エンコードする文字。
charCountint入力バッファのサイズ。
バイトuint8_t *出力バイト バッファ。
byteCountint目的配列のサイズ。
flushbooltrue の場合、計算後に内部エンコーダの状態をクリアします。
charsUsedint&読み取った文字数を格納する変数への参照。
bytesUsedint&書き込まれたバイト数を格納する変数への参照。
completedbool&入力バッファが枯渇した場合は true、そうでない場合は false に設定される変数への参照。

参照