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

This component&hyphen;private utility `struct` provides a namespace for a suite of functions used by `BerUtil` to implement BER length quantity encoding and decoding&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct BerUtil&lowbar;LengthImpUtil;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/Constants.adoc[`Constants`] 
| `Constants` is an alias to a namespace for a suite of general&hyphen;purpose constants that occur when encoding or decoding BER data&period;
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/RawIntegerUtil.adoc[`RawIntegerUtil`] 
| `RawIntegerUtil` is an alias to a namespace for a suite of functions used to implement integer encoding&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/getEndOfContentOctets.adoc[`getEndOfContentOctets`] 
| Decode BER end&hyphen;of&hyphen;content octets from `streamBuf`&period;
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/getLength.adoc[`getLength`] 
| Decode the length octets from the specified `streamBuf` and load the result to the specified `result`&period;
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/putEndOfContentOctets.adoc[`putEndOfContentOctets`] 
| Encode BER end&hyphen;of&hyphen;content octets to `streamBuf`&period;
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/putIndefiniteLengthOctet.adoc[`putIndefiniteLengthOctet`] 
| Encode the &quot;indefinite&hyphen;length&quot; octet onto the specified `streamBuf`&period;
| xref:BloombergLP/balber/BerUtil_LengthImpUtil/putLength.adoc[`putLength`] 
| Encode the specified `length` to `streamBuf`&period;
|===



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