BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balber::BerUtil_Imp Struct Reference

#include <balber_berutil.h>

Static Public Member Functions

static int putStringValue (bsl::streambuf *streamBuf, const char *string, int stringLength)
 

Detailed Description

This component-private utility struct exists to provide backwards-compatability for external components that depend upon the facilities provided by this struct.

Member Function Documentation

◆ putStringValue()

int balber::BerUtil_Imp::putStringValue ( bsl::streambuf *  streamBuf,
const char *  string,
int  stringLength 
)
inlinestatic

Write the length and contents octets of the BER encoding of the specified character string having the specified stringLength (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 and only if all bytes corresponding to the length and contents octets are written to the streamBuf without the write position becoming unavailable.


The documentation for this struct was generated from the following file: