[#BloombergLP-balber-BerUtil_IntegerImpUtil-getNumOctetsToStream-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_IntegerImpUtil.adoc[BerUtil&lowbar;IntegerImpUtil]::getNumOctetsToStream
:relfileprefix: ../../../
:mrdocs:

Return the number of octets required to provide a BER encoding of the specified `value` according to the specification&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
getNumOctetsToStream(short value);
----


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