[#BloombergLP-balber-BerUtil_LengthImpUtil-getEndOfContentOctets]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_LengthImpUtil.adoc[BerUtil&lowbar;LengthImpUtil]::getEndOfContentOctets
:relfileprefix: ../../../
:mrdocs:

Decode BER end&hyphen;of&hyphen;content octets from `streamBuf`&period;

== Synopsis

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

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

== Description

specified `accumNumBytesConsumed`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *accumNumBytesConsumed*
| running total of bytes consumed&semi; incremented by this call
| *streamBuf*
| input stream buffer
|===


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