basic_streambuf::sgetn

streamsize sgetn(E *s, streamsize n);

The member function returns sgetn(s, n).