Multiple character insertion.
Declared in <bslstl_stringbuf.h>
virtual
streamsize
xsputn(
char_type const* __s,
streamsize __n);
Writes __s[0] through __s[] to the output sequence, as if by sputc(). Stops when either n characters have been copied, or when sputc() would return traits::eof().
It is expected that derived classes provide a more efficient implementation by overriding this definition.
The number of characters written.
| Name | Description |
|---|---|
| __s | A buffer area. |
| __n | Maximum number of characters to write. |