Re: [protobuf] [Java][Python][TCP] Reading messages that where written with writeDelimited and viceversa

2015-09-30 Thread Ilia Mirkin
On Tue, Sep 29, 2015 at 9:31 AM, Mike White wrote: > aloha everyone, > > i stumbled across this post as i'm hitting this error as well. since i'm a > newbie to python i had a question on how to implement this. when doing these > steps, > > # Read a message from Java's

Re: [protobuf] [Java][Python][TCP] Reading messages that where written with writeDelimited and viceversa

2012-03-27 Thread Evan Jones
On Mar 26, 2012, at 21:49 , Galileo Sanchez wrote: Thanks man... It worked great! I guess I should read the documentation a little more xP. Sadly these functions aren't actually documented. The Python API doesn't expose these routines for some reason I don't understand / remember. Glad it

Re: [protobuf] [Java][Python][TCP] Reading messages that where written with writeDelimited and viceversa

2012-03-26 Thread Evan Jones
On Mar 25, 2012, at 18:09 , Galileo Sanchez wrote: else if (Should I write the size as a raw bit string?) thenHow do I do that? You need to use something like the following. Not 100% sure it works but it should be close? Hope this helps, Evan # Output a message to

Re: [protobuf] [Java][Python][TCP] Reading messages that where written with writeDelimited and viceversa

2012-03-26 Thread Galileo Sanchez
Thanks man... It worked great! I guess I should read the documentation a little more xP. On Monday, March 26, 2012 9:49:17 PM UTC-3, Evan Jones wrote: On Mar 25, 2012, at 18:09 , Galileo Sanchez wrote: else if (Should I write the size as a raw bit string?) then