Copy characters from a buffer into this streambuf.

Synopsis

Declared in <bdlbb_blobstreambuf.h>

virtual
std::streamsize
xsputn(
    char_type const* source,
    std::streamsize numChars) override;

Description

Copy the specified numChars from the specified source to the blob held by this streambuf, starting at the current put area location. The behavior is undefined unless 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