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: 0x020001CF RID: 463 [Token(Token = "0x20001CF")] 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: 0x06001166 RID: 4454 [Token(Token = "0x6001166")] [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: 0x06001167 RID: 4455 [Token(Token = "0x6001167")] [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: 0x06001168 RID: 4456 [Token(Token = "0x6001168")] [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: 0x06001169 RID: 4457 [Token(Token = "0x6001169")] [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: 0x170001B5 RID: 437 // (get) Token: 0x0600116A RID: 4458 [Token(Token = "0x170001B5")] public abstract int Remaining { [Token(Token = "0x600116A")] [Address(Slot = "8")] get; } /// Initializes all data and state information pertaining to this fallback buffer. // Token: 0x0600116B RID: 4459 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600116B")] [Address(RVA = "0x2F1B050", Offset = "0x2F19E50", VA = "0x182F1B050", Slot = "9")] public virtual void Reset() { } // Token: 0x0600116C RID: 4460 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600116C")] [Address(RVA = "0x2F1B030", Offset = "0x2F19E30", VA = "0x182F1B030")] internal void InternalReset() { } // Token: 0x0600116D RID: 4461 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600116D")] [Address(RVA = "0x2F1B000", Offset = "0x2F19E00", VA = "0x182F1B000")] internal unsafe void InternalInitialize(char* charStart, char* charEnd, EncoderNLS encoder, bool setEncoder) { } // Token: 0x0600116E RID: 4462 RVA: 0x0000DA58 File Offset: 0x0000BC58 [Token(Token = "0x600116E")] [Address(RVA = "0x2F1AFC0", Offset = "0x2F19DC0", VA = "0x182F1AFC0")] internal char InternalGetNextChar() { return '\0'; } // Token: 0x0600116F RID: 4463 RVA: 0x0000DA70 File Offset: 0x0000BC70 [Token(Token = "0x600116F")] [Address(RVA = "0x2F1AE00", Offset = "0x2F19C00", VA = "0x182F1AE00", Slot = "10")] internal unsafe virtual bool InternalFallback(char ch, ref char* chars) { return default(bool); } // Token: 0x06001170 RID: 4464 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001170")] [Address(RVA = "0x2F1B080", Offset = "0x2F19E80", VA = "0x182F1B080")] internal void ThrowLastCharRecursive(int charRecursive) { } /// Initializes a new instance of the class. // Token: 0x06001171 RID: 4465 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001171")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected EncoderFallbackBuffer() { } // Token: 0x04000901 RID: 2305 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000901")] internal unsafe char* charStart; // Token: 0x04000902 RID: 2306 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000902")] internal unsafe char* charEnd; // Token: 0x04000903 RID: 2307 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000903")] internal EncoderNLS encoder; // Token: 0x04000904 RID: 2308 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000904")] internal bool setEncoder; // Token: 0x04000905 RID: 2309 [FieldOffset(Offset = "0x29")] [Token(Token = "0x4000905")] internal bool bUsedEncoder; // Token: 0x04000906 RID: 2310 [FieldOffset(Offset = "0x2A")] [Token(Token = "0x4000906")] internal bool bFallingBack; // Token: 0x04000907 RID: 2311 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000907")] internal int iRecursionCount; // Token: 0x04000908 RID: 2312 [Token(Token = "0x4000908")] private const int iMaxRecursion = 250; } }