[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Implements methods that reads characters from a byte stream in a particular encoding. [Property] Index=Sets the index of buffer at which to begin writing. ARG(int)|1|0 Count=Sets the maximum number of characters to read. ARG(int)|1|0 [Methods] *doClose=Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader. ARG()|1|0 *doDiscardBufferedData=Clears the internal buffer.ARG()|1|0 doRead=Reads a specified maximum of characters from the current stream, beginning at the specified index. ARG(int index, int count)|1|0 onRead=Occurs after invoke the method doRead and returns the result. ARG(char[])|2|13 onError=If an error occurs, an error message appears. ARG(string)|2|2 Buffer=When method doRead returns, contains the specified character array with the values between index and (Index + Count - 1) replaced by the characters read from the current source. ARG(char[])|3|13 Length=Returns the number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the count parameter, depending on whether the data is available within the stream. ARG(int)|3|1 StreamReader=Defines a StreamReader object that implements methods for reading. ARG(StreamReader)|4|0 Index=Defines the index of buffer at which to begin writing. ARG(int)|4|1 Count=Defines the maximum number of characters to read. ARG(int)|4|1