System::Text::ICUDecoder::GetChars メソッド

ICUDecoder::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int) method

バッファをデコードした結果得られる文字列を取得します。

virtual int System::Text::ICUDecoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex)
パラメーター説明
バイトArrayPtr<uint8_t>デコードするバイト。
byteIndexint入力バッファのオフセット。
byteCountint入力バッファのサイズ。
charsArrayPtr<char_t>出力文字バッファ。
charIndexint出力配列のオフセット。

ReturnValue

書き込まれた文字数。

参照

ICUDecoder::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int, bool) method

バッファをデコードした結果得られる文字列を取得します。

virtual int System::Text::ICUDecoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, bool flush)
パラメーター説明
バイトArrayPtr<uint8_t>デコードするバイト。
byteIndexint入力バッファのオフセット。
byteCountint入力バッファのサイズ。
charsArrayPtr<char_t>出力文字バッファ。
charIndexint出力配列のオフセット。
flushbooltrue の場合、計算後に内部デコーダーの状態をクリアします。

ReturnValue

書き込まれた文字数。

参照

ICUDecoder::GetChars(const uint8_t *, int, char_t *, int, bool) method

バッファをデコードした結果得られる文字列を取得します。

virtual int System::Text::ICUDecoder::GetChars(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush)
パラメーター説明
バイトconst uint8_t *デコードするバイト。
byteCountint入力バッファのサイズ。
charschar_t *出力文字バッファ。
charCountint目的配列のサイズ。
flushbooltrue の場合、計算後に内部デコーダーの状態をクリアします。

ReturnValue

書き込まれた文字数。

参照