2014-03-31 23:24 GMT+02:00 Ilia Mirkin <[email protected]>:
> PB's don't include any protocol at all. Your RPC mechanism will need
> to provide for this. It's common to do something like a <length> <pb>
> type of thing; you could even use the CodedOutputStream (or its
> equivalent, depending on the language you're using) to emit the length
> as a varint, and then stick the pb into it. You do need to
> pre-serialize the pb though, so if it's going to be huge, that can be
> a problem. (One could come up with ways to mitigate that of course.)


Clear. Thanks for the explanation.

-- 
Iñaki Baz Castillo
<[email protected]>

-- 
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 http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to