System::Text::EncoderReplacementFallbackBuffer class

EncoderReplacementFallbackBuffer class

Buffer for replacing encoding fallback strategy. Objects of this class should only be allocated using 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 EncoderReplacementFallbackBuffer : public System::Text::EncoderFallbackBuffer

Méthodes

MéthodeDescription
EncoderReplacementFallbackBuffer(const EncoderReplacementFallbackPtr&)Constructeur.
Fallback(char_t, int) overrideGère les échecs d’encodage.
Fallback(char_t, char_t, int) overrideGère les échecs d’encodage.
get_Remaining() const overrideObtient le nombre de caractères restants dans le tampon.
GetNextChar() overrideObtient le caractère disponible suivant.
MovePrevious() overrideSe déplace au caractère précédent.
Reset() overrideRéinitialise le tampon à son état initial (avant l’appel de Fallback()).

Voir aussi