class 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. This class cannot be inherited.
public DecoderReplacementFallback( string replacement )
Initializes a new instance of the class using a specified replacement string.
replacementA string that is emitted in a decoding operation in place of an input byte sequence that cannot be decoded.
public string DefaultString { get; }
Gets the replacement string that is the value of the object.
- Returns A substitute string that is emitted in place of an input byte sequence that cannot be decoded.
public bool Equals( object value )
Indicates whether the value of a specified object is equal to the object.
valueA object.- Returns if is a object having a property that is equal to the property of the current object; otherwise, .
public int MaxCharCount { get; }
Gets the number of characters in the replacement string for the object.
- Returns The number of characters in the string that is emitted in place of a byte sequence that cannot be decoded, that is, the length of the string returned by the property.
public DecoderFallbackBuffer CreateFallbackBuffer( )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public DecoderReplacementFallback( )
😔 No documentation found.