Return the character at the current read position and advance.
Return the character at the current read position from this buffer, or traits_type::eof() if the end of the buffer is reached and advance read position indicator.
character at the former read position, or traits_type::eof() if the end of the buffer is reached