[#BloombergLP-balber-BerUtil-putEndOfContentOctets] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil.adoc[BerUtil]::putEndOfContentOctets :relfileprefix: ../../../ :mrdocs: Encode the "end‐of‐content" octets (two consecutive zero‐octets) to the specified `streamBuf`. The "end‐of‐content" octets act as the termination bytes for objects that have indefinite length. 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 putEndOfContentOctets(std::streambuf* streamBuf); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#