class DecoderReplacementFallbackBuffer

in global :: System . Text

Represents a substitute output string that is emitted when the original input byte sequence cannot be decoded. This class cannot be inherited.


public DecoderReplacementFallbackBuffer( DecoderReplacementFallback fallback )

Initializes a new instance of the class using the value of a object.

  • fallback A object that contains a replacement string.

public bool Fallback( byte[] bytesUnknown, int index )

Prepares the replacement fallback buffer to use the current replacement string.

  • bytesUnknown An input byte sequence. This parameter is ignored unless an exception is thrown.
  • index The index position of the byte in . 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.