istream& read( char* pch, int nCount );
istream& read( unsigned char* puch, int nCount );
istream& read( signed char* psch, int nCount );
pch, puch, psch
A pointer to a character array.
The maximum number of characters to read.
Extracts bytes from the stream until the limit nCount is reached or until the end of file is reached. The read function is useful for binary stream input.