Represents a reader that can read a sequential series of characters.
UnbufferedStringReader
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Close | 1 | Closes the System.IO.TextReader and releases any system resources associated with the TextReader. |
| Peek | 1 | Reads the next character without changing the state of the reader or the character source. |
| Read | 2 | Reads the next character from the text reader and advances the character position by one character. |
| ReadLine | 1 | Reads a line of characters from the text reader and returns the data as a string. |
| ReadToEnd | 1 | Reads all characters from the current position to the end of the text reader and returns them as one string. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Position | 1 | The current read position. |
04 Members
Closes the System.IO.TextReader and releases any system resources associated with the TextReader.
Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the reader.
Reads the next character from the text reader and advances the character position by one character.
Char(), Int32, Int32)Reads a specified maximum number of characters from the current reader and writes the data to a buffer, beginning at the specified index.
| Name | Type | Description |
|---|---|---|
buffer | Char() | - |
index | Int32 | - |
count | Int32 | - |
Reads a line of characters from the text reader and returns the data as a string.
Reads all characters from the current position to the end of the text reader and returns them as one string.
The current read position.