|
CppWAMP
C++11 client library for the WAMP protocol
|
A CodecDecoder is a class that supports operations for decoding a sequence of bytes in a codec format into a wamp::Variant.
Given:
decoder: a CodecDecoder instancevariant: a reference to a wamp::Variantinput: a reference to either a const std::string, a const wamp::CodecBuffer, or a std::istreamthen the following expressions must be valid:
| Expression | Effect |
|---|---|
decoder.decode(input, variant) | Decodes the input into the given variant, returning a std::error_code. |
The following classes meet the requirements of Decoder: