Stream |
public class StreamReader : TextReader
The StreamReader type exposes the following members.
| Name | Description | |
|---|---|---|
| StreamReader(Stream) | Initializes a new instance of the CrestronIO.StreamReader class for the specified stream. | |
| StreamReader(String) | Initializes a new instance of the CrestronIO.StreamReader class for the specified file name. | |
| StreamReader(Stream, Boolean) | Initializes a new instance of the CrestronIO.StreamReader class for the specified stream, with the specified byte order mark detection option. | |
| StreamReader(Stream, Encoding) | Initializes a new instance of the CrestronIO.StreamReader class for the specified stream, with the specified character encoding. | |
| StreamReader(String, Boolean) | Initializes a new instance of the CrestronIO.StreamReader class for the specified file name, with the specified byte order mark detection option. | |
| StreamReader(String, Encoding) | Initializes a new instance of the CrestronIO.StreamReader class for the specified file name, with the specified character encoding. | |
| StreamReader(Stream, Encoding, Boolean) | Initializes a new instance of the CrestronIO.StreamReader class for the specified stream, with the specified character encoding and byte order mark detection option. | |
| StreamReader(String, Encoding, Boolean) | Initializes a new instance of the CrestronIO.StreamReader class for the specified file name, with the specified character encoding and byte order mark detection option. | |
| StreamReader(Stream, Encoding, Boolean, Int32) | Initializes a new instance of the CrestronIO.StreamReader class for the specified stream, with the specified character encoding, byte order mark detection option, and buffer size. | |
| StreamReader(String, Encoding, Boolean, Int32) | Initializes a new instance of the CrestronIO.StreamReader class for the specified file name, with the specified character encoding, byte order mark detection option, and buffer size. |
| Name | Description | |
|---|---|---|
| BaseStream | Returns the underlying stream. | |
| CurrentEncoding | Gets the current character encoding that the current CrestronIO.StreamReader object is using. | |
| EndOfStream | Gets a value that indicates whether the current stream position is at the end of the stream. |
| Name | Description | |
|---|---|---|
| Close |
Closes the CrestronIO.TextReader and releases any system resources associated
with the TextReader.
(Inherited from TextReader) | |
| DiscardBufferedData | Allows a CrestronIO.StreamReader object to discard its current data. | |
| Dispose |
Releases all resources used by the CrestronIO.TextReader object.
(Inherited from TextReader) | |
| Dispose(Boolean) |
Closes the underlying stream, releases the unmanaged resources used by the
CrestronIO.StreamReader, and optionally releases the managed resources.
(Overrides TextReaderDispose(Boolean)) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Destructor for StreamReader.
(Overrides ObjectFinalize) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Peek |
Returns the next available character but does not consume it.
(Overrides TextReaderPeek) | |
| Read |
Reads the next character from the input stream and advances the character
position by one character.
(Overrides TextReaderRead) | |
| Read(Char, Int32, Int32) |
Reads a maximum of count characters from the current stream into buffer,
beginning at index.
(Overrides TextReaderRead(Char, Int32, Int32)) | |
| ReadBlock |
Reads a maximum of count characters from the current stream, and writes the
data to buffer, beginning at index.
(Overrides TextReaderReadBlock(Char, Int32, Int32)) | |
| ReadLine |
Reads a line of characters from the current stream and returns the data as
a string.
(Overrides TextReaderReadLine) | |
| ReadToEnd |
Reads the stream from the current position to the end of the stream.
(Overrides TextReaderReadToEnd) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |