BloombergLP::balber::BerUtil_StringImpUtil::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 the specified streamBuf. Return 0 if successful, and a non-zero value otherwise. The operation succeeds if all bytes corresponding to the length and contents octets are written to the streamBuf without the write position becoming unavailable.

Synopsis

Declared in <balber_berutil.h>

static
int
putStringValue(
    std::streambuf* streamBuf,
    bsl::string const& value);