PeekChar()

BinaryReader::PeekChar() method

Reads a single character from the input stream without changing the stream’s read cursor.

virtual int System::IO::BinaryReader::PeekChar()

Return Value

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