basic_istream& read( char_type* s, std::streamsize count );
Extracts characters from stream.
UnformattedInputFunction. After constructing and checking the sentry object, extracts characters and stores them into successive locations of the character array whose first element is pointed to by
s. Characters are extracted and stored until any of the following conditions occurs:
countcharacters were extracted and stored
- end of file condition occurs on the input sequence (in which case, setstate(failbit|eofbit) is called.
|s||-||pointer to the character array to store the characters to|
|count||-||number of characters to read|
read() is often used for binary I/O