Is there posibility (any method) to check count of bytes read by function presented below:
istream& read (char* s, streamsize n);
std::streamsize gcount() const;
Returns the number of characters extracted by the last unformatted input operation.