Write the length and contents octets of the BER encoding of the specified byte string having the specified stringLength (as defined in the specification).
Declared in <balber_berutil.h>
static
int
putRawStringValue(
std::streambuf* streamBuf,
char const* string,
int stringLength);
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.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| streamBuf | output stream buffer |
| string | pointer to the character bytes |
| stringLength | length of string in bytes |