using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.IO { /// Implements a that reads from a string. // Token: 0x020002A6 RID: 678 [Token(Token = "0x20002A6")] [ComVisible(true)] [Serializable] public class StringReader : TextReader { /// Initializes a new instance of the class that reads from the specified string. /// The string to which the should be initialized. /// The parameter is . // Token: 0x060018D4 RID: 6356 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018D4")] [Address(RVA = "0xCCEA00", Offset = "0xCCDA00", VA = "0x180CCEA00")] public StringReader(string s) { } /// Closes the . // Token: 0x060018D5 RID: 6357 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018D5")] [Address(RVA = "0xCC97F0", Offset = "0xCC87F0", VA = "0x180CC97F0", Slot = "7")] public override void Close() { } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x060018D6 RID: 6358 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018D6")] [Address(RVA = "0xCCE660", Offset = "0xCCD660", VA = "0x180CCE660", Slot = "8")] protected override void Dispose(bool disposing) { } /// Returns the next available character but does not consume it. /// An integer representing the next character to be read, or -1 if no more characters are available or the stream does not support seeking. /// The current reader is closed. // Token: 0x060018D7 RID: 6359 RVA: 0x00010B00 File Offset: 0x0000ED00 [Token(Token = "0x60018D7")] [Address(RVA = "0xCCE670", Offset = "0xCCD670", VA = "0x180CCE670", Slot = "9")] public override int Peek() { return 0; } /// Reads the next character from the input string and advances the character position by one character. /// The next character from the underlying string, or -1 if no more characters are available. /// The current reader is closed. // Token: 0x060018D8 RID: 6360 RVA: 0x00010B18 File Offset: 0x0000ED18 [Token(Token = "0x60018D8")] [Address(RVA = "0xCCE7F0", Offset = "0xCCD7F0", VA = "0x180CCE7F0", Slot = "10")] public override int Read() { return 0; } /// Reads a block of characters from the input string and advances the character position by . /// When this method returns, contains the specified character array with the values between and ( + - 1) replaced by the characters read from the current source. /// The starting index in the buffer. /// The number of characters to read. /// The total number of characters read into the buffer. This can be less than the number of characters requested if that many characters are not currently available, or zero if the end of the underlying string has been reached. /// /// is . /// The buffer length minus is less than . /// /// or is negative. /// The current reader is closed. // Token: 0x060018D9 RID: 6361 RVA: 0x00010B30 File Offset: 0x0000ED30 [Token(Token = "0x60018D9")] [Address(RVA = "0xCCE830", Offset = "0xCCD830", VA = "0x180CCE830", Slot = "11")] public override int Read([In] [Out] char[] buffer, int index, int count) { return 0; } /// Reads all characters from the current position to the end of the string and returns them as a single string. /// The content from the current position to the end of the underlying string. /// There is insufficient memory to allocate a buffer for the returned string. /// The current reader is closed. // Token: 0x060018DA RID: 6362 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60018DA")] [Address(RVA = "0xCCE7B0", Offset = "0xCCD7B0", VA = "0x180CCE7B0", Slot = "12")] public override string ReadToEnd() { return null; } /// Reads a line of characters from the current string and returns the data as a string. /// The next line from the current string, or if the end of the string is reached. /// The current reader is closed. /// There is insufficient memory to allocate a buffer for the returned string. // Token: 0x060018DB RID: 6363 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60018DB")] [Address(RVA = "0xCCE6B0", Offset = "0xCCD6B0", VA = "0x180CCE6B0", Slot = "13")] public override string ReadLine() { return null; } // Token: 0x04000D36 RID: 3382 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4000D36")] private string _s; // Token: 0x04000D37 RID: 3383 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000D37")] private int _pos; // Token: 0x04000D38 RID: 3384 [global::Cpp2IlInjected.FieldOffset(Offset = "0x24")] [Token(Token = "0x4000D38")] private int _length; } }