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

Utilities for BER string encoding and decoding&period;

== Synopsis

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

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

== Description

This component&hyphen;private utility `struct` provides a namespace for a suite of functions used by `BerUtil` to implement BER encoding and decoding operations for string values&period; Within the definition of this `struct`&colon;

&ast; *the specification*&colon; &gt; Refers to the August 2015 revision of the ITU&hyphen;T Recommendation X&period;690&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerUtil_StringImpUtil/LengthUtil.adoc[`LengthUtil`] 
| `LengthUtil` is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for length quantities&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerUtil_StringImpUtil/getStringValue.adoc[`getStringValue`] 
| Decode a BER character string into a `bsl&colon;&colon;string`&period;
| xref:BloombergLP/balber/BerUtil_StringImpUtil/putChars.adoc[`putChars`] 
| Write `numChars` copies of `value` to `streamBuf`&period;
| xref:BloombergLP/balber/BerUtil_StringImpUtil/putRawStringValue.adoc[`putRawStringValue`] 
| Write the length and contents octets of the BER encoding of the specified byte `string` having the specified `stringLength` (as defined in the specification)&period;
| xref:BloombergLP/balber/BerUtil_StringImpUtil/putStringRefValue.adoc[`putStringRefValue`] 
| Write the length and contents octets of the BER encoding of the specified character string `value` (as defined in the specification) to the output sequence of&period;
| xref:BloombergLP/balber/BerUtil_StringImpUtil/putStringValue.adoc[`putStringValue`] 
| Write the length and contents octets of the BER encoding of the specified character string `value` (as defined in the specification) to the output sequence of&period;
| xref:BloombergLP/balber/BerUtil_StringImpUtil/putStringViewValue.adoc[`putStringViewValue`] 
| Write the length and contents octets of the BER encoding of the specified character string `value` (as defined in the specification) to the output sequence of&period;
|===



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