Reads the next character from the input stream and advances the character position by one character.
Reimplemented in xtd::io::stream_reader, xtd::io::string_reader, xtd::io::null_text_reader, and xtd::io::synchronized_text_reader.