using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.IO
{
/// Implements a that reads from a string.
// Token: 0x0200029F RID: 671
[Token(Token = "0x200029F")]
[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: 0x06001895 RID: 6293 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001895")]
[Address(RVA = "0x260D900", Offset = "0x260C700", VA = "0x18260D900")]
public StringReader(string s)
{
}
/// Closes the .
// Token: 0x06001896 RID: 6294 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001896")]
[Address(RVA = "0x6A2590", Offset = "0x6A1390", VA = "0x1806A2590", 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: 0x06001897 RID: 6295 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001897")]
[Address(RVA = "0x260D560", Offset = "0x260C360", VA = "0x18260D560", 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: 0x06001898 RID: 6296 RVA: 0x000107A0 File Offset: 0x0000E9A0
[Token(Token = "0x6001898")]
[Address(RVA = "0x260D570", Offset = "0x260C370", VA = "0x18260D570", 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: 0x06001899 RID: 6297 RVA: 0x000107B8 File Offset: 0x0000E9B8
[Token(Token = "0x6001899")]
[Address(RVA = "0x260D6F0", Offset = "0x260C4F0", VA = "0x18260D6F0", 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: 0x0600189A RID: 6298 RVA: 0x000107D0 File Offset: 0x0000E9D0
[Token(Token = "0x600189A")]
[Address(RVA = "0x260D730", Offset = "0x260C530", VA = "0x18260D730", 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: 0x0600189B RID: 6299 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600189B")]
[Address(RVA = "0x260D6B0", Offset = "0x260C4B0", VA = "0x18260D6B0", 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: 0x0600189C RID: 6300 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600189C")]
[Address(RVA = "0x260D5B0", Offset = "0x260C3B0", VA = "0x18260D5B0", Slot = "13")]
public override string ReadLine()
{
return null;
}
// Token: 0x04000D2C RID: 3372
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000D2C")]
private string _s;
// Token: 0x04000D2D RID: 3373
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000D2D")]
private int _pos;
// Token: 0x04000D2E RID: 3374
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000D2E")]
private int _length;
}
}