CppWAMP
C++11 client library for the WAMP protocol
|
A CodecEncoder
is a class that supports operations for encoding a Variant into a destination codec format.
Given:
encoder
: an CodecEncoder
instancevariant
: a reference to a const wamp::Variantoutput
: a reference to either a std::string
, a wamp::CodecBuffer
, or a std::ostream
then the following expressions must be valid:
Expression | Effect |
---|---|
encoder.encode(variant, output) | Encodes the variant into the given output. |
The following classes meet the requirements of Encoder
: