[#BloombergLP-balber-BerUtil_StreambufUtil-putChars] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_StreambufUtil.adoc[BerUtil_StreambufUtil]::putChars :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int putChars( std::streambuf* streamBuf, char const* buffer, int bufferLength); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#