[#BloombergLP-balber-BerUtil_StringImpUtil-putChars] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_StringImpUtil.adoc[BerUtil_StringImpUtil]::putChars :relfileprefix: ../../../ :mrdocs: Write the specified `numChars` number of bytes having the specified `value` to the output sequence of the specified `streamBuf`. 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. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int putChars( std::streambuf* streamBuf, char value, int numChars); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#