System::Text::UTF7Encoding::GetBytes メソッド

UTF7Encoding::GetBytes(ArrayPtr<char_t>) method

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

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars)
パラメーター説明
charsArrayPtr<char_t>エンコードする文字。

ReturnValue

Buffer that holds representation of characters being encoded.

参照

UTF7Encoding::GetBytes(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int) method

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

int System::Text::UTF7Encoding::GetBytes(ArrayPtr<char_t> chars, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index) override
パラメーター説明
charsArrayPtr<char_t>エンコードする文字。
char_indexint文字スライスの開始位置。
char_countint変換する文字数。
bytesArrayPtr<uint8_t>Buffer に文字を入れるためのバッファ。
byte_indexint出力バッファのオフセット。

ReturnValue

書き込まれたバイト数。

参照

UTF7Encoding::GetBytes(ArrayPtr<char_t>, int, int) method

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

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars, int index, int count)
パラメーター説明
charsArrayPtr<char_t>エンコードする文字。
インデックスint文字スライスの開始位置。
countint変換する文字数。

ReturnValue

Buffer that holds representation of characters being encoded.

参照

UTF7Encoding::GetBytes(const char_t *, int, uint8_t *, int) method

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

int System::Text::UTF7Encoding::GetBytes(const char_t *chars, int char_count, uint8_t *bytes, int byte_count) override
パラメーター説明
charsconst char_t *エンコードする文字。
char_countint変換する文字数。
bytesuint8_t *Buffer に文字を入れるためのバッファ。
byte_countint出力バッファのサイズ。

ReturnValue

書き込まれたバイト数。

参照

UTF7Encoding::GetBytes(const String&) method

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

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const String &s)
パラメーター説明
sconst String&String をエンコードする文字列。

ReturnValue

Buffer that holds representation of characters being encoded.

参照

UTF7Encoding::GetBytes(const String&, int, int, ArrayPtr<uint8_t>, int) method

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

int System::Text::UTF7Encoding::GetBytes(const String &s, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index) override
パラメーター説明
sconst String&String をエンコードする文字列。
char_indexint文字スライスの開始位置。
char_countint変換する文字数。
bytesArrayPtr<uint8_t>Buffer に文字を入れるためのバッファ。
byte_indexint出力バッファのオフセット。

ReturnValue

書き込まれたバイト数。

参照

UTF7Encoding::GetBytes(const System::Details::ArrayView<char_t>&, int, int) method

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

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const System::Details::ArrayView<char_t> &chars, int index, int count)
パラメーター説明
charsconst System::Details::ArrayView<char_t>&エンコードする文字。
インデックスint文字スライスの開始位置。
countint変換する文字数。

ReturnValue

Buffer that holds representation of characters being encoded.

参照

UTF7Encoding::GetBytes(const System::Details::StackArray<char_t, N>&, int, int) method

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

template<std::size_t> ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const System::Details::StackArray<char_t, N> &chars, int index, int count)
パラメーター説明
charsconst System::Details::StackArray<char_t, N>&エンコードする文字。
インデックスint文字スライスの開始位置。
countint変換する文字数。

ReturnValue

Buffer that holds representation of characters being encoded.

参照

UTF7Encoding::GetBytes(System::Details::ArrayView<char_t>, int, int, System::Details::ArrayView<uint8_t>, int) method

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

virtual int System::Text::Encoding::GetBytes(System::Details::ArrayView<char_t> chars, int char_index, int char_count, System::Details::ArrayView<uint8_t> bytes, int byte_index)
パラメーター説明
charsSystem::Details::ArrayView<char_t>エンコードする文字。
char_indexint文字スライスの開始位置。
char_countint変換する文字数。
bytesSystem::Details::ArrayView<uint8_t>Buffer に文字を入れるためのバッファ。
byte_indexint出力バッファのオフセット。

ReturnValue

書き込まれたバイト数。

参照

UTF7Encoding::GetBytes(System::Details::StackArray<char_t, SC>&, int, int, System::Details::StackArray<uint8_t, SB>&, int) method

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

template<std::size_t,std::size_t> int System::Text::Encoding::GetBytes(System::Details::StackArray<char_t, SC> &chars, int char_index, int char_count, System::Details::StackArray<uint8_t, SB> &bytes, int byte_index)
パラメーター説明
charsSystem::Details::StackArray<char_t, SC>&エンコードする文字。
char_indexint文字スライスの開始位置。
char_countint変換する文字数。
bytesSystem::Details::StackArray<uint8_t, SB>&Buffer に文字を入れるためのバッファ。
byte_indexint出力バッファのオフセット。

ReturnValue

書き込まれたバイト数。

参照