basic_streambuf::sputn

streamsize sputn(const E *s, streamsize n);

The member function returns sputn(s, n).