Just call writeTo():

void writeToStream(Message message, OutputStream out) {

On Thu, Jul 2, 2009 at 7:47 AM, J.V. <jvsr...@gmail.com> wrote:

> Which class in the ProtoBuf Java api would be used to encode to a binary
> stream?
> Is there a short example or tutorial on  how to encode (using Java) to a
> binary stream for RCP?
> a short code snippet on how to encode/decode would be super helpful.
> thanks
> jrv
> >

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to