BloombergLP::bdlde::Utf8CheckingInStreamBufWrapper::xsputn

Attempt to write characters; always fails in this input-only wrapper.

Synopsis

Declared in <bdlde_utf8checkinginstreambufwrapper.h>

virtual
std::streamsize
xsputn(
    char const* buffer,
    std::streamsize numBytes) override;

Description

Output function, not supported in this input-only implementation; stubbed out, arguments ignored, returns 0. Note that this function is forwarded to by sputn in the base class.

Return Value

0 (output is not supported)

Parameters

NameDescription
bufferunused output buffer (ignored)
numBytesunused count of characters to write (ignored)