On Sat, Jan 9, 2016 at 4:07 AM, skysharma <[email protected]> wrote:
> I am new to Google Protocol Buffers and struggle with text-based > programming (I develop in NI LabVIEW). I need to generate a DebugString > from LabVIEW that ParseFromString will interpret correctly. To understand > how to encode the DebugString I need to look at the source code for > ParseFromString and struggle through understanding it. However I am having > the darndest time finding the file where the source code for this function > is. Can anyone point me to the source code file? > ParseFromString() expects the input to be protobuf binary format (produced by SerializeAsString()) rather than text format. To parse text format protos, you should use the TextFormat class. See: https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.text_format > > Sky > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
