StreamReader: Peek

Peek

Returns the the next char from the reader without consuming it.



 Public Function Peek ( ) As Long

Return Values

Long -  The next character to be read, or -1 if the end of the stream has been reached.

Remarks

The character that is returned is not removed from the stream. Any characters above &H7FFF will be returned as a positive value.

See Also

Project CorLib Overview

Class StreamReader Overview