Classe System::Text::ASCIIEncoding
Contenuti
[
Nascondere
]ASCIIEncoding class
Rappresenta la codifica ASCII. Gli oggetti di questa classe devono essere allocati solo usando la funzione System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class ASCIIEncoding : public System::Text::ICUEncoding
Metodi
| Metodo | Descrizione |
|---|---|
| ASCIIEncoding() | Costruttore. |
| GetMaxByteCount(int) override | Restituisce il numero massimo di byte possibile per contenere una stringa con un conteggio di caratteri noto. |
| GetMaxCharCount(int) override | Restituisce il numero massimo di caratteri necessari per decodificare un numero specificato di byte. |
Campi
| Campo | Descrizione |
|---|---|
| static constexpr ASCII_CODE_PAGE | RTTI. |
| static constexpr DEFAULT_CODE_PAGE | Valore predefinito della pagina di codice. |
Vedi anche
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.Font for C++