Write characters from a buffer into this stream buffer.
Declared in <bdlsb_memoutstreambuf.h>
virtual
std::streamsize
xsputn(
char_type const* source,
std::streamsize numChars) override;
Write the specified numChars characters from the specified source to the stream buffer. Return the number of characters successfully written. The behavior is undefined unless '(source && 0 < numChars) || 0 == numChars'.
number of characters successfully written
| Name | Description |
|---|---|
| source | buffer of characters to write |
| numChars | number of characters to write |