10 #ifndef CORAL_PROTOBUF_HPP 11 #define CORAL_PROTOBUF_HPP 14 #include "google/protobuf/message_lite.h" 34 const google::protobuf::MessageLite& source,
35 zmq::message_t& target);
43 const zmq::message_t& source,
44 google::protobuf::MessageLite& target);
56 #endif // header guard
void SerializeToFrame(const google::protobuf::MessageLite &source, zmq::message_t &target)
Serializes a Protobuf message into a ZMQ message.
Definition: variable_io.hpp:28
Exception that signals failure to serialize or deserialize a message.
Definition: protobuf.hpp:48
void ParseFromFrame(const zmq::message_t &source, google::protobuf::MessageLite &target)
Deserializes a Protobuf message from a ZMQ message.