You should be using toByteArray(), not getBytes(), to serialize to
the protobuf wire format.
Oh those variables are byte array wrappers and contains serialized
bytes among other things.
You also need to delimit the messages.
Got it, thanks.
Otherwise, the first ParseFromCodedStream
Ah, i saw the diff.
Thank you
Saptarshi
On Thu, Apr 15, 2010 at 3:53 PM, Jason Hsueh jas...@google.com wrote:
Yes, these are safe to ignore. This is also addressed in
r302: http://code.google.com/p/protobuf/source/detail?r=302
On Thu, Apr 15, 2010 at 12:40 PM, Fishtank
#SetLogHandler
On Sat, Dec 12, 2009 at 10:50 AM, Saptarshi Guha
saptarshi.g...@gmail.com wrote:
Hello,
I am using Protocol Buffers to serialize some data.
To begin with I do realize that I shouldn't be using PB for
serializing very large messages, but given that I am, I have to deal
actually sets this flag correctly by default, but you are
actually using some other GCC, perhaps from MacPorts or some such.
Could this be the case?
On Sat, Oct 31, 2009 at 5:58 PM, Saptarshi Guha saptarshi.g...@gmail.com
wrote:
On Oct 30, 2009, at 7:14 PM, Kenton Varda wrote
://ml.stat.purdue.edu/rpackages/test.parse.tgz
[2] http://www.newartisans.com/2009/10/a-c-gotcha-on-snow-leopard.html
On Fri, Oct 30, 2009 at 4:04 PM, Saptarshi Guha saptarshi.g...@gmail.com
wrote:
Hello,
I have a byte array which I'd like to deserialize, it is about 3K
bytes.
On RHEL 5, 64 bit
::MessageLite::ParseFromArray(void const*, int) + 62
(message_lite.cc:104)
10 Rhipe.so0x00011430d5d3
unserializeUsingPB + 99
Saptarshi Guha | saptarshi.g...@gmail.com | http://www.stat.purdue.edu/~sguha
The use of anthropomorphic terminology when dealing
On Oct 29, 2009, at 2:26 AM, Kenton Varda ken...@google.com wrote:
I'm not familiar with R. But, the error means that you've attempted
to load two different copies of rexp.pb.cc into the same process.
The protobuf runtime requires that all compiled-in .proto files have
unique names.
code.
On Thu, Aug 27, 2009 at 7:18 PM, Kenton Varda ken...@google.com wrote:
On Thu, Aug 27, 2009 at 2:06 PM, Saptarshi Guha saptarshi.g...@gmail.com
wrote:
Hello
I was thinking about this and had some questions
On Mon, Aug 24, 2009 at 3:29 PM, Kenton Vardaken...@google.com wrote