[#BloombergLP-balber-BerUtil_StringImpUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerUtil_StringImpUtil :relfileprefix: ../../ :mrdocs: Utilities for BER string encoding and decoding. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BerUtil_StringImpUtil; ---- == Description This component‐private utility `struct` provides a namespace for a suite of functions used by `BerUtil` to implement BER encoding and decoding operations for string values. Within the definition of this `struct`: * *the specification*: > Refers to the August 2015 revision of the ITU‐T Recommendation X.690. == 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. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_StringImpUtil/getStringValue.adoc[`getStringValue`] | Decode a BER character string into a `bsl::string`. | xref:BloombergLP/balber/BerUtil_StringImpUtil/putChars.adoc[`putChars`] | Write `numChars` copies of `value` to `streamBuf`. | 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). | 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. | 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. | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#