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 saptarshi.g
Thanks much.
Regards
Saptarshi
On Sat, Dec 12, 2009 at 4:40 PM, Kenton Varda ken...@google.com wrote:
Actually, this is a better link:
http://code.google.com/apis/protocolbuffers/docs/reference/cpp/google.protobuf.common.html#SetLogHandler.details
For some reason the auto-generated
Saptarshi
On Nov 1, 2009, at 3:15 AM, Kenton Varda wrote:
Sorry, I don't have access to a Snow Leopard machine to test this on.
However, your second link looks like a very likely culprit. They
seem to be saying that all C++ code on Snow Leopard needs to be
compiled
on Snow Leopard (i can't recall the machine type)
On another note, I read that( from an emacs blog) that Snow Leopard
has fully dynamic strings enabled by default
and there is an issue regarding freeing such strings[2] . I'm not sure
if this even related.
Thanks
Saptarshi
[1] http
on SnowLeopard (gcc4.2)
I'm not sure why this happens. The crash appears to arise within the
protobuf calls.
Regards
Saptarshi
Process: R [34034]
Path:/Applications/R64.app/Contents/MacOS/R
Identifier: org.R-project.R
Version: R 2.10.0 GUI 1.30 Leopard build 64-bit
mentioned. My mistake. I saw the
java generator and got a rudimentary idea if how it was being done.
Thanks again for your prompt help
Regards
Saptarshi
S
In the future I'm hoping to make protoc itself support plugins;
see this thread:
http://groups.google.com/group/protobuf
it came to right tiny messages (~1KB) 10MM(=M) times .
Surprisingly, the output to array is much slower than the other two.
Thanks for your input, it was really helpful.
Regards
Saptarshi
On Thu, Aug 27, 2009 at 10:19 PM, Kenton Vardaken...@google.com wrote:
BTW, when I talk about one thing
.
Regards
Saptarshi
--~--~-~--~~~---~--~~
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
protobuf+unsubscr
Hmm, I fount the text output here:
http://code.google.com/apis/protocolbuffers/docs/reference/cpp/google.protobuf.text_format.html
Thank you
Saptarshi
On Aug 22, 12:06 am, Saptarshi saptarshi.g...@gmail.com wrote:
Hello,
I'm new to using Protocol Buffers and am debugging my program
like :
print(rxp)
in gdb to get the contents?
Thank you
Saptarshi
--~--~-~--~~~---~--~~
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
11 matches
Mail list logo