Encode the specified value to the specified streamBuf. Return 0 on success, and a non‐zero value otherwise. Note that the value consists of the length and contents primitives. Also note that only fundamental C++ types, bsl::string, bsl::string_view, bslstl::StringRef, and BDE date/time types are supported.
Synopsis
Declared in <balber_berutil.h>
template<typename TYPE>
static
int
putValue(
std::streambuf* streamBuf,
TYPE const& value,
BerEncoderOptions const* options = 0);
Created with MrDocs