using System; using Cpp2IlInjected; 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. // Token: 0x020001C4 RID: 452 [Token(Token = "0x20001C4")] public abstract class DecoderFallbackBuffer { /// When overridden in a derived class, prepares the fallback buffer to handle the specified input byte sequence. /// An input array of bytes. /// The index position of a byte in . /// /// if the fallback buffer can process ; if the fallback buffer ignores . // Token: 0x06001112 RID: 4370 [Token(Token = "0x6001112")] [Address(Slot = "4")] 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. // Token: 0x06001113 RID: 4371 [Token(Token = "0x6001113")] [Address(Slot = "5")] public abstract char GetNextChar(); /// 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. // Token: 0x170001A3 RID: 419 // (get) Token: 0x06001114 RID: 4372 [Token(Token = "0x170001A3")] public abstract int Remaining { [Token(Token = "0x6001114")] [Address(Slot = "6")] get; } /// Initializes all data and state information pertaining to this fallback buffer. // Token: 0x06001115 RID: 4373 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001115")] [Address(RVA = "0x2F18580", Offset = "0x2F17380", VA = "0x182F18580", Slot = "7")] public virtual void Reset() { } // Token: 0x06001116 RID: 4374 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001116")] [Address(RVA = "0x2F18560", Offset = "0x2F17360", VA = "0x182F18560")] internal void InternalReset() { } // Token: 0x06001117 RID: 4375 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001117")] [Address(RVA = "0x18A0730", Offset = "0x189F530", VA = "0x1818A0730")] internal unsafe void InternalInitialize(byte* byteStart, char* charEnd) { } // Token: 0x06001118 RID: 4376 RVA: 0x0000D6E0 File Offset: 0x0000B8E0 [Token(Token = "0x6001118")] [Address(RVA = "0x2F18120", Offset = "0x2F16F20", VA = "0x182F18120", Slot = "8")] internal unsafe virtual bool InternalFallback(byte[] bytes, byte* pBytes, ref char* chars) { return default(bool); } // Token: 0x06001119 RID: 4377 RVA: 0x0000D6F8 File Offset: 0x0000B8F8 [Token(Token = "0x6001119")] [Address(RVA = "0x2F18350", Offset = "0x2F17150", VA = "0x182F18350", Slot = "9")] internal unsafe virtual int InternalFallback(byte[] bytes, byte* pBytes) { return 0; } // Token: 0x0600111A RID: 4378 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600111A")] [Address(RVA = "0x2F185B0", Offset = "0x2F173B0", VA = "0x182F185B0")] internal void ThrowLastBytesRecursive(byte[] bytesUnknown) { } /// Initializes a new instance of the class. // Token: 0x0600111B RID: 4379 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600111B")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected DecoderFallbackBuffer() { } // Token: 0x040008E6 RID: 2278 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40008E6")] internal unsafe byte* byteStart; // Token: 0x040008E7 RID: 2279 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40008E7")] internal unsafe char* charEnd; } }