|
CppWAMP
C++11 client library for the WAMP protocol
|
CBOR encoder. More...
#include <cppwamp/cbor.hpp>
Public Member Functions | |
| BasicCborEncoder () | |
| Default constructor. | |
| ~BasicCborEncoder () | |
| Destructor. | |
| void | encode (const Variant &variant, Output &output) |
| Serializes from the given variant to the given output (it does not first clear the output, by design). | |
CBOR encoder.
This class uses jsoncons to serialize CBOR payloads from Variant instances.
Meets the requirements of the CodecEncoder concept.
| O | The output type in which to encode. |
| C | The output category type (deduced). |