I defined a simple message below
message MfStream {
  bytes message=1;
}

After calling msg.set_message(), code shown below, I serialized msg and 
noticed the msg have two more bytes than the (buf and len). What is the API 
I can use to serialize to the original buf and len? Look forward to your 
reply. Thanks.


char* buf;
int len;
...
...
MfStream msg;
msg.set_message(buf, len);


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" 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/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/686ec9fa-c6f0-4f11-9562-b4182f38cc36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to