[#BloombergLP-balber-BerUtil-getEndOfContentOctets] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil.adoc[BerUtil]::getEndOfContentOctets :relfileprefix: ../../../ :mrdocs: Decode the "end‐of‐content" octets (two consecutive zero‐octets) from the specified `streamBuf` and add the number of bytes consumed (which is always 2) to the specified `accumNumBytesConsumed`. 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 getEndOfContentOctets( std::streambuf* streamBuf, int* accumNumBytesConsumed); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#