[#BloombergLP-bslstl-SyncBufBaseUtil-emitInternal] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SyncBufBaseUtil.adoc[SyncBufBaseUtil]::emitInternal :relfileprefix: ../../../ :mrdocs: Atomically transfer any characters buffered by the specified `syncBuf` object to the wrapped stream buffer, so that it appears in the output stream as a contiguous sequence of characters. The wrapped stream buffer is flushed if and only if a call was made to `sync` since the most recent call to `emit` or construction. Return `true` if `get_wrapped() != nullptr`, and all of the characters in the associated output were successfully transferred, and the flush (if any) succeeded; return `false` otherwise. The behavior is undefined unless `syncBuf` is not null. == Synopsis Declared in `<bslstl_syncbufbase.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool emitInternal(xref:BloombergLP/bslstl/SyncBufBase.adoc[SyncBufBase]* syncBuf); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#