System::Text::Encoder::GetByteCount メソッド
Encoder::GetByteCount(ArrayPtr<char_t>, int, int, bool) method
バッファをエンコードするのに必要なバイト数を取得します。
virtual int System::Text::Encoder::GetByteCount(ArrayPtr<char_t> chars, int index, int count, bool flush)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | ArrayPtr<char_t> | エンコードする文字。 |
| index | int | Buffer オフセット。 |
| count | int | エンコードする文字数。 |
| flush | bool | true の場合、計算後に内部エンコーダの状態をクリアします。 |
ReturnValue
バッファをエンコードするのに必要なバイト数。
参照
- Typedef ArrayPtr
- Class Encoder
- Namespace System::Text
- Library Aspose.Page for C++
Encoder::GetByteCount(const char_t *, int, bool) method
バッファをエンコードするのに必要なバイト数を取得します。
virtual int System::Text::Encoder::GetByteCount(const char_t *chars, int count, bool flush)
| パラメーター | 型 | 説明 |
|---|---|---|
| chars | const char_t * | エンコードする文字。 |
| count | int | エンコードする文字数。 |
| flush | bool | true の場合、計算後に内部エンコーダの状態をクリアします。 |
ReturnValue
バッファをエンコードするのに必要なバイト数。
参照
- Class Encoder
- Namespace System::Text
- Library Aspose.Page for C++