System::Text::Encoding::GetByteCount メソッド
コンテンツ
[
隠れる
]Encoding::GetByteCount(ArrayPtr<char_t>) method
文字バッファをエンコードするために必要な文字数を取得します。
virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | ArrayPtr<char_t> | 文字バッファ。 |
ReturnValue
必要なバッファサイズ。
参照
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
Encoding::GetByteCount(ArrayPtr<char_t>, int, int) method
文字バッファをエンコードするために必要な文字数を取得します。
virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars, int index, int count)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | ArrayPtr<char_t> | 文字バッファ。 |
| インデックス | int | スライス開始。 |
| count | int | スライスのサイズ。 |
ReturnValue
必要なバッファサイズ。
参照
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
Encoding::GetByteCount(const char_t *, int) method
文字バッファをエンコードするために必要な文字数を取得します。
virtual int System::Text::Encoding::GetByteCount(const char_t *chars, int count)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | const char_t * | 文字バッファ。 |
| count | int | Buffer サイズ。 |
ReturnValue
必要なバッファサイズ。
参照
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
Encoding::GetByteCount(const String&) method
文字列をエンコードするために必要な文字数を取得します。
virtual int System::Text::Encoding::GetByteCount(const String &s)
| パラメーター | 型 | 説明 |
|---|---|---|
| s | const String& | String をエンコードする文字列。 |
ReturnValue
必要なバッファサイズ。
参照
- Class String
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
Encoding::GetByteCount(const System::Details::StackArray<char_t, N>&, int, int) method
文字バッファをエンコードするために必要な文字数を取得します。
template<std::size_t> int System::Text::Encoding::GetByteCount(const System::Details::StackArray<char_t, N> &chars, int index, int count)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | const System::Details::StackArray<char_t, N>& | 文字バッファ。 |
| インデックス | int | スライス開始。 |
| count | int | スライスのサイズ。 |
ReturnValue
必要なバッファサイズ。
参照
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
Encoding::GetByteCount(System::Details::ArrayView<char_t>, int, int) method
文字バッファをエンコードするために必要な文字数を取得します。
virtual int System::Text::Encoding::GetByteCount(System::Details::ArrayView<char_t> chars, int index, int count)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | System::Details::ArrayView<char_t> | 文字バッファ。 |
| インデックス | int | スライス開始。 |
| count | int | スライスのサイズ。 |
ReturnValue
必要なバッファサイズ。
参照
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++