[#BloombergLP-balber-BerUtil_BooleanImpUtil-putBoolValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_BooleanImpUtil.adoc[BerUtil_BooleanImpUtil]::putBoolValue :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int putBoolValue( std::streambuf* streamBuf, bool value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#