Re: Merge two messages into one file

2008-10-13 Thread Kenton Varda
My apologies for not having added this to the FAQ page yet. Too many little things to do... :( On Sun, Oct 12, 2008 at 10:18 AM, Chris <[EMAIL PROTECTED]> wrote: > > This is a FAQ. > > [EMAIL PROTECTED] wrote: > > Hi, Kenton, > > > > The main problem is how can I serialize two different objects

Re: Merge two messages into one file

2008-10-12 Thread Chris
This is a FAQ. [EMAIL PROTECTED] wrote: > Hi, Kenton, > > The main problem is how can I serialize two different objects into one > stream. > > e.g. If I serialize the Text object into one file, how can I append > another object Image into the file. > Also the methods how to deserialize? T

Re: Merge two messages into one file

2008-10-10 Thread [EMAIL PROTECTED]
Hi, Kenton, The main problem is how can I serialize two different objects into one stream. e.g. If I serialize the Text object into one file, how can I append another object Image into the file. Also the methods how to deserialize? Thanks. I found the method Message.AppendToString(s

Re: Merge two messages into one file

2008-10-10 Thread Kenton Varda
Sorry, I'm not sure I understand the question. What, exactly, is the main problem you're having? On Fri, Oct 10, 2008 at 3:11 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > I have some kind of requirement that I did not find answer from the > document. May someone help me. > > I have diffe

Merge two messages into one file

2008-10-10 Thread [EMAIL PROTECTED]
I have some kind of requirement that I did not find answer from the document. May someone help me. I have different message objects which are inherited from one parent. I need to serialize the objects into one file. Some kind of solutions like: e.g. message Style { optional int32 color