#include <cstddef>
#include <string>
#include <nlohmann/json.hpp>
Go to the source code of this file.
|
| std::string | Mads::format_echo_json (const std::string &topic, const nlohmann::json &payload, size_t wire_size, const EchoRenderOptions &opts) |
| | Formats one received JSON message for mads echo stdout.
|
| |
| std::string | Mads::format_echo_blob (const std::string &topic, const std::string &format, const unsigned char *data, size_t len, const EchoRenderOptions &opts) |
| | Formats one received blob message for mads echo stdout.
|
| |
| std::string | Mads::base64_encode (const unsigned char *data, size_t len) |
| | Standard base64 encoding (RFC 4648, with = padding).
|
| |