using System;
namespace System.Text
{
/// Provides a buffer that allows a fallback handler to return an alternate string to a decoder when it cannot decode an input byte sequence.
/// 2
// Token: 0x020005E5 RID: 1509
public abstract class DecoderFallbackBuffer
{
/// When overridden in a derived class, gets the number of characters in the current object that remain to be processed.
/// The number of characters in the current fallback buffer that have not yet been processed.
/// 1
// Token: 0x17000ABD RID: 2749
// (get) Token: 0x060036F2 RID: 14066
public abstract int Remaining { get; }
/// When overridden in a derived class, prepares the fallback buffer to handle the specified input byte sequence.
/// true if the fallback buffer can process ; false if the fallback buffer ignores .
/// An input array of bytes.
/// The index position of a byte in .
/// 1
// Token: 0x060036F3 RID: 14067
public abstract bool Fallback(byte[] bytesUnknown, int index);
/// When overridden in a derived class, retrieves the next character in the fallback buffer.
/// The next character in the fallback buffer.
/// 2
// Token: 0x060036F4 RID: 14068
public abstract char GetNextChar();
/// When overridden in a derived class, causes the next call to the method to access the data buffer character position that is prior to the current character position.
/// true if the operation was successful; otherwise, false.
/// 1
// Token: 0x060036F5 RID: 14069
public abstract bool MovePrevious();
/// Initializes all data and state information pertaining to this fallback buffer.
/// 1
// Token: 0x060036F6 RID: 14070 RVA: 0x000BC7F8 File Offset: 0x000BA9F8
public virtual void Reset()
{
}
}
}