Encode the specified value to the specified streamBuf.
Synopsis
Declared in <balber_berutil.h>
static
int
putBoolValue(
std::streambuf* streamBuf,
bool value);
Description
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.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
streamBuf |
output stream buffer |
value |
value to encode |
Created with MrDocs