6 #ifndef IROHA_SHARED_MODEL_PROTO_UTIL_HPP 7 #define IROHA_SHARED_MODEL_PROTO_UTIL_HPP 9 #include <google/protobuf/message.h> 19 data.resize(message.ByteSizeLong());
20 message.SerializeToArray(data.data(), data.size());
27 #endif // IROHA_SHARED_MODEL_PROTO_UTIL_HPP std::vector< uint8_t > Bytes
Definition: blob.hpp:30
crypto::Blob makeBlob(T &&message)
Definition: util.hpp:17
Definition: command_executor.hpp:13