using System;
using Cpp2IlInjected;
namespace System.Text
{
/// Represents a substitute output string that is emitted when the original input byte sequence cannot be decoded. This class cannot be inherited.
// Token: 0x020001C7 RID: 455
[Token(Token = "0x20001C7")]
public sealed class DecoderReplacementFallbackBuffer : DecoderFallbackBuffer
{
/// Initializes a new instance of the class using the value of a object.
/// A object that contains a replacement string.
// Token: 0x06001133 RID: 4403 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001133")]
[Address(RVA = "0x2F19A00", Offset = "0x2F18800", VA = "0x182F19A00")]
public DecoderReplacementFallbackBuffer(DecoderReplacementFallback fallback)
{
}
/// Prepares the replacement fallback buffer to use the current replacement string.
/// An input byte sequence. This parameter is ignored unless an exception is thrown.
/// The index position of the byte in . This parameter is ignored in this operation.
///
/// if the replacement string is not empty; if the replacement string is empty.
/// This method is called again before the method has read all the characters in the replacement fallback buffer.
// Token: 0x06001134 RID: 4404 RVA: 0x0000D818 File Offset: 0x0000BA18
[Token(Token = "0x6001134")]
[Address(RVA = "0x2F19920", Offset = "0x2F18720", VA = "0x182F19920", Slot = "4")]
public override bool Fallback(byte[] bytesUnknown, int index)
{
return default(bool);
}
/// Retrieves the next character in the replacement fallback buffer.
/// The next character in the replacement fallback buffer.
// Token: 0x06001135 RID: 4405 RVA: 0x0000D830 File Offset: 0x0000BA30
[Token(Token = "0x6001135")]
[Address(RVA = "0x2F19970", Offset = "0x2F18770", VA = "0x182F19970", Slot = "5")]
public override char GetNextChar()
{
return '\0';
}
/// Gets the number of characters in the replacement fallback buffer that remain to be processed.
/// The number of characters in the replacement fallback buffer that have not yet been processed.
// Token: 0x170001A8 RID: 424
// (get) Token: 0x06001136 RID: 4406 RVA: 0x0000D848 File Offset: 0x0000BA48
[Token(Token = "0x170001A8")]
public override int Remaining
{
[Token(Token = "0x6001136")]
[Address(RVA = "0x2F19A40", Offset = "0x2F18840", VA = "0x182F19A40", Slot = "6")]
get
{
return 0;
}
}
/// Initializes all internal state information and data in the object.
// Token: 0x06001137 RID: 4407 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001137")]
[Address(RVA = "0x2F199E0", Offset = "0x2F187E0", VA = "0x182F199E0", Slot = "7")]
public override void Reset()
{
}
// Token: 0x06001138 RID: 4408 RVA: 0x0000D860 File Offset: 0x0000BA60
[Token(Token = "0x6001138")]
[Address(RVA = "0x2F199C0", Offset = "0x2F187C0", VA = "0x182F199C0", Slot = "9")]
internal unsafe override int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x040008ED RID: 2285
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008ED")]
private string strDefault;
// Token: 0x040008EE RID: 2286
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40008EE")]
private int fallbackCount;
// Token: 0x040008EF RID: 2287
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x40008EF")]
private int fallbackIndex;
}
}