Hi All! SerializeToString is used for translate PB object to std::string, but i want to use this string assign to another PB object's colum.
I cannot to do it. a.proto message A { required string user = 1; } b.proto message B { required int counts = 1; } So, B.SerializeToString() into A.user. why? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---