CppWAMP
C++11 client library for the WAMP protocol
wamp::BasicCborDecoder< I, C > Class Template Reference

CBOR decoder. More...

#include <cppwamp/cbor.hpp>

Public Member Functions

 BasicCborDecoder ()
 Default constructor.
 
 ~BasicCborDecoder ()
 Destructor.
 
std::error_code decode (const Input &input, Variant &variant)
 Deserializes from the given input to the given variant.
 

Detailed Description

template<typename I, typename C = InputCategoryTypeOf<I>>
class wamp::BasicCborDecoder< I, C >

CBOR decoder.

This class uses jsoncons to deserialize CBOR payloads into Variant instances.

Meets the requirements of the CodecDecoder concept.

Template Parameters
IThe input type from which to decode.
CThe input category type (deduced).

The documentation for this class was generated from the following files: