[#BloombergLP-balber-BerUtil-putEndOfContentOctets]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil.adoc[BerUtil]::putEndOfContentOctets
:relfileprefix: ../../../
:mrdocs:

Encode the &quot;end&hyphen;of&hyphen;content&quot; octets (two consecutive zero&hyphen;octets) to the specified `streamBuf`&period; The &quot;end&hyphen;of&hyphen;content&quot; octets act as the termination bytes for objects that have indefinite length&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;

== Synopsis

Declared in `&lt;balber&lowbar;berutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
putEndOfContentOctets(std::streambuf* streamBuf);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
