Overview | Methods | This Package | All Packages
Retrieves the next available character without actually reading it from the underlying string.
Syntax
public int peek()
Return Value
Returns the next character to be read, or returns -1 if no further characters are available.
Remarks
The current position of the TextReader is not changed by this operation.
Overrides Reader.peek