I have a protoBuff3 specification which looks something like
message MSG {
string name = 1;
repeated string data = 2;
}
And a options file that sets "MSG.data max_count:20"
I am trying to encode and decode protobuffs without using .
I am currently using pb_ostream_from_buffer and pb_encode however I when trying to link i get an error saying pb_ostream_..., pb_encode, pb_decode,... external symbols do not exist. I am able to find these functions defined in pb_encode.h and pb_decode.h
.Online i see reference to functions like ParseFromString and SerializeToString, however I can not find these function anywhere.
What is the proper way to serialize and serialize my message without iostreams?