On Sun, Jun 28, 2009 at 7:30 AM, Alex Black a...@alexblack.ca wrote:
Hi, I'm trying to use these to serialize messages to my own stream.
I have a couple of questions:
1. If I use message.SerializeToCodedStream() do I still need to write
the size of the message to the stream on my own
, 2009 7:08 PM
To: Alex Black
Cc: Protocol Buffers
Subject: Re: Using CopyingOutputStreamAdaptor and CodedOutputStream
On Sun, Jun 28, 2009 at 7:30 AM, Alex Black a...@alexblack.ca wrote:
Hi, I'm trying to use these to serialize messages to my own
stream.
I have
++
--
*From:* Kenton Varda [mailto:ken...@google.com]
*Sent:* Monday, June 29, 2009 7:08 PM
*To:* Alex Black
*Cc:* Protocol Buffers
*Subject:* Re: Using CopyingOutputStreamAdaptor and CodedOutputStream
On Sun, Jun 28, 2009 at 7:30 AM, Alex Black a...@alexblack.ca wrote:
Hi, I'm trying
Hi, I'm trying to use these to serialize messages to my own stream.
I have a couple of questions:
1. If I use message.SerializeToCodedStream() do I still need to write
the size of the message to the stream on my own first?
Note, you can see the code I was previously using here: