Write characters from a buffer into this stream buffer.
Synopsis
Declared in <bdlsb_overflowmemoutstreambuf.h>
virtual
std::streamsize
xsputn(
char_type const* source,
std::streamsize numChars) override;
Description
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.
Return Value
number of characters successfully written
Parameters
Name |
Description |
source |
buffer of characters to write |
numChars |
number of characters to write |
Created with MrDocs