BloombergLP::balber::BerUtil_StringImpUtil::putChars

Write numChars copies of value to streamBuf.

Synopsis

Declared in <balber_berutil.h>

static
int
putChars(
    std::streambuf* streamBuf,
    char value,
    int numChars);

Description

Return 0 if successful, and a non-zero value otherwise. The operation succeeds if all numChars bytes are written to the streamBuf without the write position becoming unavailable.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
streamBufoutput stream buffer
valuevalue to encode
numCharsnumber of characters to write