The CharStream type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CharStream | Initializes a new instance of the CharStream class |
Methods
| Name | Description | |
|---|---|---|
| Close | Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader. (Inherited from StreamReader.) | |
| CorrectOffset | Called by CharFilter(s) and Tokenizer to correct token offset.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| DiscardBufferedData | Allows a StreamReader object to discard its current data. (Inherited from StreamReader.) | |
| Dispose()()()() | Releases all resources used by the TextReader object. (Inherited from TextReader.) | |
| Dispose(Boolean) | Closes the underlying stream, releases the unmanaged resources used by the StreamReader, and optionally releases the managed resources. (Inherited from StreamReader.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| Peek | Returns the next available character but does not consume it. (Inherited from StreamReader.) | |
| Read()()()() | Reads the next character from the input stream and advances the character position by one character. (Inherited from StreamReader.) | |
| Read(array<Char>[]()[][], Int32, Int32) | Reads a maximum of count characters from the current stream into buffer, beginning at index. (Inherited from StreamReader.) | |
| ReadBlock | Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index. (Inherited from TextReader.) | |
| ReadLine | Reads a line of characters from the current stream and returns the data as a string. (Inherited from StreamReader.) | |
| ReadToEnd | Reads the stream from the current position to the end of the stream. (Inherited from StreamReader.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| BaseStream | Returns the underlying stream. (Inherited from StreamReader.) | |
| CurrentEncoding | Gets the current character encoding that the current StreamReader object is using. (Inherited from StreamReader.) | |
| EndOfStream | Gets a value that indicates whether the current stream position is at the end of the stream. (Inherited from StreamReader.) |