Re: [protobuf] serializing the message using the compiled file.

2010-04-12 Thread Adam Vartanian
> I want to serialize the message (id, title and teh text). > Can someone please help me out with this. You can call yourmessage.toByteArray() (or toByteString()) to get it as an object, or yourmessage.writeTo(OutputStream) to send it to an OutputStream. - Adam -- You received this message beca

[protobuf] serializing the message using the compiled file.

2010-04-12 Thread prashant waykar
This is the compiled proto file. I want to serialize the message (id, title and teh text). Can someone please help me out with this. Thanks in advance. import java.util.Vector; import java.io.IOException; import com.ponderingpanda.protobuf.*; public class Html implements Message { priva