Searched refs:serialized_protobuf (Results 1 – 1 of 1) sorted by relevance
38 string serialized_protobuf; in SerializeProtocolBuffer() local39 if (!protobuf.SerializeToString(&serialized_protobuf)) in SerializeProtocolBuffer()41 out->assign(serialized_protobuf.begin(), serialized_protobuf.end()); in SerializeProtocolBuffer()47 bool DeserializeProtocolBuffer(const vector<uint8_t>& serialized_protobuf, in DeserializeProtocolBuffer() argument50 if (serialized_protobuf.empty()) in DeserializeProtocolBuffer()52 return protobuf_out->ParseFromArray(&serialized_protobuf.front(), in DeserializeProtocolBuffer()53 serialized_protobuf.size()); in DeserializeProtocolBuffer()