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: 0x020001CE RID: 462
[Token(Token = "0x20001CE")]
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: 0x06001169 RID: 4457 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001169")]
[Address(RVA = "0xD239B0", Offset = "0xD229B0", VA = "0x180D239B0")]
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: 0x0600116A RID: 4458 RVA: 0x0000DB30 File Offset: 0x0000BD30
[Token(Token = "0x600116A")]
[Address(RVA = "0xD238F0", Offset = "0xD228F0", VA = "0x180D238F0", 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: 0x0600116B RID: 4459 RVA: 0x0000DB48 File Offset: 0x0000BD48
[Token(Token = "0x600116B")]
[Address(RVA = "0xD23940", Offset = "0xD22940", VA = "0x180D23940", 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: 0x170001AF RID: 431
// (get) Token: 0x0600116C RID: 4460 RVA: 0x0000DB60 File Offset: 0x0000BD60
[Token(Token = "0x170001AF")]
public override int Remaining
{
[Token(Token = "0x600116C")]
[Address(RVA = "0xD239F0", Offset = "0xD229F0", VA = "0x180D239F0", Slot = "6")]
get
{
return 0;
}
}
/// Initializes all internal state information and data in the object.
// Token: 0x0600116D RID: 4461 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600116D")]
[Address(RVA = "0xD23990", Offset = "0xD22990", VA = "0x180D23990", Slot = "7")]
public override void Reset()
{
}
// Token: 0x0600116E RID: 4462 RVA: 0x0000DB78 File Offset: 0x0000BD78
[Token(Token = "0x600116E")]
[Address(RVA = "0x590480", Offset = "0x58F480", VA = "0x180590480", Slot = "9")]
internal unsafe override int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x040008F7 RID: 2295
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008F7")]
private string strDefault;
// Token: 0x040008F8 RID: 2296
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40008F8")]
private int fallbackCount;
// Token: 0x040008F9 RID: 2297
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x40008F9")]
private int fallbackIndex;
}
}