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

Encode the BER indefinite&hyphen;length octet to `streamBuf`&period;

== Synopsis

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

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

== Description

This octet signifies that the length of the contents is indefinite (i&period;e&period;, contents will be terminated by end of content octets)&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
| *streamBuf*
| output stream buffer
|===


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