So how do you change the code:
ZeroCopyOutputStream* raw_output = new ArrayOutputStream(snap_buf2,
snap1.ByteSize()+numBytesForDelim); //Here?
CodedOutputStream* coded_output = new
CodedOutputStream(raw_output);
coded_output->WriteVarint32(snap1.ByteSize()); //Here?
snap1.Serialize
Hi,
I don't see my post, so I am doing again.
I want my Java code to receiving a simple message that sent by C++
My C++:
TestMsg *pbTestMsg = new TestMsg();
pbTestMsg->set_acid("");
pbTestMsg->set_name("Anthony");
int varIntSize = google::protobuf::io::
CodedOutputStream::V
Hi,
I don't see my post, so I am doing again.
I want my Java code to receiving a simple message that sent by C++
My C++:
TestMsg *pbTestMsg = new TestMsg();
pbTestMsg->set_acid("");
pbTestMsg->set_name("Anthony");
int varIntSize = google::protobuf::io::
CodedOutputStream::V