BloombergLP::balber::BerUtil_StreambufUtil::putChars

Write the first specified bufferLength number of bytes from the specified buffer to the specified streamBuf, as if by a call to streamBuf->sputn(buffer, bufferLength). Return 0 on success, and a non-zero value otherwise.

Synopsis

Declared in <balber_berutil.h>

static
int
putChars(
    std::streambuf* streamBuf,
    char const* buffer,
    int bufferLength);