BloombergLP::balber::BerUtil_BooleanImpUtil::putBoolValue

Encode the specified value to the specified streamBuf. Return 0 on success and a non-zero value otherwise. The value is encoded as the sequence of contents octets for a BER-encoded boolean value according to the specification. This operation succeeds if all of the contents octets are successfully written to the streamBuf.

Synopsis

Declared in <balber_berutil.h>

static
int
putBoolValue(
    std::streambuf* streamBuf,
    bool value);