[#BloombergLP-balber-BerEncoder_LevelGuard-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerEncoder_LevelGuard.adoc[BerEncoder&lowbar;LevelGuard]::BerEncoder&lowbar;LevelGuard
:relfileprefix: ../../../
:mrdocs:

Increment the current depth level of the specified `encoder` and restore it on destruction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BerEncoder&lowbar;LevelGuard(xref:BloombergLP/balber/BerEncoder.adoc[BerEncoder]* encoder);
----


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