DecoderReplacementFallback

DecoderReplacementFallback


Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an output character. The fallback emits a user-specified replacement string instead of a decoded input byte sequence.


Implements:

DecoderFallback 
IObject 

Public:

Properties:

NameDescription
 DefaultString (get) Gets the replacement string that is the value of the DecoderReplacementFallback object.  
 MaxCharCount (get) Gets the number of characters in the replacement string for the DecoderReplacementFallback object.  

Methods:

NameDescription
 CreateFallbackBuffer Creates a DecoderFallbackBuffer object that is initialized with the replacement string of this DecoderReplacementFallback object.  
 Equals Indicates whether the value of a specified object is equal to the DecoderReplacementFallback object.  
 GetHashCode Retrieves the hash code for the value of the DecoderReplacementFallback object.  
 ToString Returns a string that represents the current object.  

See Also

Project CorLib Overview

Class DecoderReplacementFallback Overview