System::Text::Encoder クラス
Encoder class
文字シーケンスをバイトシーケンスにエンコードする機能をカプセル化します。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してこの型のインスタンスを作成しないでください。そうしないと実行時エラーやアサーション違反が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数への引数として使用してください。
class Encoder : public System::Object
メソッド
| メソッド | 説明 |
|---|---|
| virtual Convert(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int, int, bool, int&, int&, bool&) | 文字をバイトに変換します。 |
| virtual Convert(const char_t *, int, uint8_t *, int, bool, int&, int&, bool&) | 文字をバイトに変換します。 |
| get_Fallback() const | エラーハンドリングのフォールバックを取得します。 |
| get_FallbackBuffer() const | フォールバックバッファを取得します。 |
| virtual GetByteCount(ArrayPtr<char_t>, int, int, bool) | バッファをエンコードするのに必要なバイト数を取得します。 |
| virtual GetByteCount(const char_t *, int, bool) | バッファをエンコードするのに必要なバイト数を取得します。 |
| virtual GetBytes(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int, bool) | バッファをエンコードした結果得られるバイト列を取得します。 |
| virtual GetBytes(const char_t *, int, uint8_t *, int, bool) | バッファをエンコードした結果得られるバイト列を取得します。 |
| virtual Reset() | エンコーダの内部状態をクリアします。 |
| set_Fallback(const EncoderFallbackPtr&) | エラーハンドリングのフォールバックを設定します。 |
参照
- Class Object
- Namespace System::Text
- Library Aspose.Page for C++