class EncoderReplacementFallbackBuffer
Represents a substitute input string that is used when the original input character cannot be encoded. This class cannot be inherited.
public EncoderReplacementFallbackBuffer( EncoderReplacementFallback fallback )
Initializes a new instance of the class using the value of a object.
fallbackA object.
public bool Fallback( char charUnknownHigh, char charUnknownLow, int index )
Indicates whether a replacement string can be used when an input surrogate pair cannot be encoded, or whether the surrogate pair can be ignored. Parameters specify the surrogate pair and the index position of the pair in the input.
charUnknownHighThe high surrogate of the input pair.charUnknownLowThe low surrogate of the input pair.indexThe index position of the surrogate pair in the input buffer.- Returns if the replacement string is not empty; if the replacement string is empty.
public bool Fallback( char charUnknown, int index )
Prepares the replacement fallback buffer to use the current replacement string.
charUnknownAn input character. This parameter is ignored in this operation unless an exception is thrown.indexThe index position of the character in the input buffer. This parameter is ignored in this operation.- Returns if the replacement string is not empty; if the replacement string is empty.
public int Remaining { get; }
Gets the number of characters in the replacement fallback buffer that remain to be processed.
- Returns The number of characters in the replacement fallback buffer that have not yet been processed.
public char GetNextChar( )
😔 No documentation found.
public bool MovePrevious( )
😔 No documentation found.
public void Reset( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.