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

`getNumOctetsToStream` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-0a.adoc[getNumOctetsToStream](int value);
----

[.small]#xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-0a.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-02.adoc[getNumOctetsToStream](long long value);
----

[.small]#xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-02.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-09.adoc[getNumOctetsToStream](short value);
----

[.small]#xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-09.adoc[_» more&period;&period;&period;_]#

Return the number of octets required to provide a BER encoding of the specified `value` according to the specification&period; The program is ill&hyphen;formed unless the specified `INTEGRAL&lowbar;TYPE` is a fundamental integral type&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename INTEGRAL&lowbar;TYPE&gt;
static
int
xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-07.adoc[getNumOctetsToStream](INTEGRAL&lowbar;TYPE value);
----

[.small]#xref:BloombergLP/balber/BerUtil_IntegerImpUtil/getNumOctetsToStream-07.adoc[_» more&period;&period;&period;_]#


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