## StreamReader::Peek method


Reads a single character from the stream without changing the stream's read cursor.

```cpp
virtual int System::IO::StreamReader::Peek() override
```


### ReturnValue

Read character encoded with UTF-16 encoding; if the read character is represented by two codepoints in UTF-16 encoding then only the high surragate is returned; if no character was read -1 is returned

## See Also

* Class [StreamReader](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
