using System; using Cpp2IlInjected; namespace System.Text { /// Provides a buffer that allows a fallback handler to return an alternate string to an encoder when it cannot encode an input character. // Token: 0x020001D6 RID: 470 [Token(Token = "0x20001D6")] public abstract class EncoderFallbackBuffer { /// When overridden in a derived class, prepares the fallback buffer to handle the specified input character. /// An input character. /// The index position of the character in the input buffer. /// /// if the fallback buffer can process ; if the fallback buffer ignores . // Token: 0x0600119E RID: 4510 [Token(Token = "0x600119E")] [Address(Slot = "4")] public abstract bool Fallback(char charUnknown, int index); /// When overridden in a derived class, prepares the fallback buffer to handle the specified surrogate pair. /// The high surrogate of the input pair. /// The low surrogate of the input pair. /// The index position of the surrogate pair in the input buffer. /// /// if the fallback buffer can process and ; if the fallback buffer ignores the surrogate pair. // Token: 0x0600119F RID: 4511 [Token(Token = "0x600119F")] [Address(Slot = "5")] public abstract bool Fallback(char charUnknownHigh, char charUnknownLow, int index); /// When overridden in a derived class, retrieves the next character in the fallback buffer. /// The next character in the fallback buffer. // Token: 0x060011A0 RID: 4512 [Token(Token = "0x60011A0")] [Address(Slot = "6")] 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. /// /// if the operation was successful; otherwise, . // Token: 0x060011A1 RID: 4513 [Token(Token = "0x60011A1")] [Address(Slot = "7")] public abstract bool MovePrevious(); /// 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: 0x170001BC RID: 444 // (get) Token: 0x060011A2 RID: 4514 [Token(Token = "0x170001BC")] public abstract int Remaining { [Token(Token = "0x60011A2")] [Address(Slot = "8")] get; } /// Initializes all data and state information pertaining to this fallback buffer. // Token: 0x060011A3 RID: 4515 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60011A3")] [Address(RVA = "0xD25760", Offset = "0xD24760", VA = "0x180D25760", Slot = "9")] public virtual void Reset() { } // Token: 0x060011A4 RID: 4516 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60011A4")] [Address(RVA = "0xD25740", Offset = "0xD24740", VA = "0x180D25740")] internal void InternalReset() { } // Token: 0x060011A5 RID: 4517 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60011A5")] [Address(RVA = "0xD25710", Offset = "0xD24710", VA = "0x180D25710")] internal unsafe void InternalInitialize(char* charStart, char* charEnd, EncoderNLS encoder, bool setEncoder) { } // Token: 0x060011A6 RID: 4518 RVA: 0x0000DD70 File Offset: 0x0000BF70 [Token(Token = "0x60011A6")] [Address(RVA = "0xD256D0", Offset = "0xD246D0", VA = "0x180D256D0")] internal char InternalGetNextChar() { return '\0'; } // Token: 0x060011A7 RID: 4519 RVA: 0x0000DD88 File Offset: 0x0000BF88 [Token(Token = "0x60011A7")] [Address(RVA = "0xD25510", Offset = "0xD24510", VA = "0x180D25510", Slot = "10")] internal unsafe virtual bool InternalFallback(char ch, ref char* chars) { return default(bool); } // Token: 0x060011A8 RID: 4520 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60011A8")] [Address(RVA = "0xD25790", Offset = "0xD24790", VA = "0x180D25790")] internal void ThrowLastCharRecursive(int charRecursive) { } /// Initializes a new instance of the class. // Token: 0x060011A9 RID: 4521 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60011A9")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected EncoderFallbackBuffer() { } // Token: 0x0400090B RID: 2315 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400090B")] internal unsafe char* charStart; // Token: 0x0400090C RID: 2316 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400090C")] internal unsafe char* charEnd; // Token: 0x0400090D RID: 2317 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400090D")] internal EncoderNLS encoder; // Token: 0x0400090E RID: 2318 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400090E")] internal bool setEncoder; // Token: 0x0400090F RID: 2319 [FieldOffset(Offset = "0x29")] [Token(Token = "0x400090F")] internal bool bUsedEncoder; // Token: 0x04000910 RID: 2320 [FieldOffset(Offset = "0x2A")] [Token(Token = "0x4000910")] internal bool bFallingBack; // Token: 0x04000911 RID: 2321 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000911")] internal int iRecursionCount; // Token: 0x04000912 RID: 2322 [Token(Token = "0x4000912")] private const int iMaxRecursion = 250; } }