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.

Synopsis

Declared in <balber_berutil.h>

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

Description

bufferLength)`. Return 0 on success, and a non-zero value otherwise.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
streamBufoutput stream buffer
bufferbytes to write
bufferLengthnumber of bytes to write