|
WebCFace 3.2.0
Web-based Communication Framework & Dashboard-like UI
|
#include <msgpack.hpp>#include <string>#include <cstdint>#include <utf8.h>#include "webcface/common/val_adaptor_vec.h"#include "webcface/common/num_vector.h"#include "./base.h"#include <spdlog/logger.h>Go to the source code of this file.
Namespaces | |
| namespace | webcface |
Functions | |
| std::string | messageTrace (const std::string &message) |
| バイナリを16進数の文字列に変換 | |
| std::vector< std::pair< int, std::shared_ptr< void > > > | unpack (const std::string &message, const std::shared_ptr< spdlog::logger > &logger) |
| msgpackのメッセージをパースし返す | |
| template<typename T > | |
| std::string | packSingle (const T &obj) |
| メッセージ1つを要素数2の配列としてシリアル化 | |
| template<typename T > | |
| void | pack (std::stringstream &buffer, int &len, const T &obj) |
| メッセージをシリアル化しbufferに追加 | |
| std::string | packDone (std::stringstream &buffer, int len) |