BloombergLP::balber::BerUtil_StringImpUtil

Utilities for BER string encoding and decoding.

Synopsis

Declared in <balber_berutil.h>

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

NameDescription
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

NameDescription
getStringValue Decode a BER character string into a bsl::string.
putChars Write numChars copies of value to streamBuf.
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).
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.
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.
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.