Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DecoderReplacementFallbackBuffer Class

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

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)

public sealed class DecoderReplacementFallbackBuffer : DecoderFallbackBuffer
public final class DecoderReplacementFallbackBuffer extends DecoderFallbackBuffer
public final class DecoderReplacementFallbackBuffer extends DecoderFallbackBuffer
Not applicable.

It might not be possible to convert an encoded byte sequence to an equivalent character if no suitable decoding exists. A common reason for a decoding to fail is that the conversion operation uses a code page that cannot represent the character to decode.

If the input byte sequence cannot be converted to an output character, a System.Text.DecoderReplacementFallback object provides a replacement string that is substituted for the output character. The replacement string initializes the value of the DecoderReplacementFallback object, and the value of the DecoderReplacementFallback object initializes the value of a DecoderReplacementFallbackBuffer object. The value of a DecoderReplacementFallbackBuffer object is called the replacement fallback buffer. The conversion operation uses the replacement fallback buffer to emit a replacement string instead of a decoded character, then continues to process the remainder of the input.

System.Object
   System.Text.DecoderFallbackBuffer
    System.Text.DecoderReplacementFallbackBuffer
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.