BloombergLP::balber::BerUtil_CharacterImpUtil::putSignedCharValue

Write the length and contents octets of the BER encoding of the specified integer value (as defined in the specification) to the output sequence of the.

Synopsis

Declared in <balber_berutil.h>

static
int
putSignedCharValue(
    std::streambuf* streamBuf,
    signed char value);

Description

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.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
streamBufoutput stream buffer
valuevalue to encode