streambuf::xsgetn
[virtual] [protected] streamsize sgetn ( char * s, streamsize n ); | streambuf |
cplusplus.com |
Get some characters.
Gets a series of characters from in input sequence and stores them in the array
pointed by s until n characters have been copied or
the input stream has no more characters.
This is a virtual member function that can be overridden in derived classes.
Parameters.
Return Value.
The number of characters read.
Basic template member declaration ( basic_streambuf<charT,traits> ):
typedef charT char_type; streamsize xsgetn (char_type * s, streamsize n); |
See also.
sgetn
streambuf class