std::streamsize sgetn( char_type* s, std::streamsize count ); | (1) | |
protected: virtual std::streamsize xsgetn( char_type* s, std::streamsize count ); | (2) |
xsgetn(s, count) of the most derived class.count characters from the input sequence and stores them into a character array pointed to by s. The characters are read as if by repeated calls to sbumpc(). That is, if less than count characters are immediately available, the function calls uflow() to provide more until traits::eof() is returned.(none).
The number of characters successfully read.
invokes xsputn() (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_streambuf/sgetn