Jason:
You know that's what I thought too about the InputStream/OutputStream
after reading the Javadoc. I'm using Eclipse Galileo with Java
1.6.0.17 -for some reason it let me compile it and run it, creating an
instance -I figured that was probably one of the problems.
I'll post some code later.
Here's my sample code. In this code, everything works for me -however
when I change the GPBClient to use Data IO streams (just comment out
the Object IO references and uncomment the Data IO references in
GPBClient), that's when I get the
"com.google.protobuf.InvalidProtocolBufferException: Protoco
Hi,
I am trying to use protobuf to exchange data between program running
on unix and another running on windows. Could someone help and tell if
I can use the files genreated by protobuf on unix, on windows or I
should generate them on windows too?
Thanks for your reply,
--
You received this mes
Hey,
I just started looking into protobuf for a project of mine.
>From the Java Api page I could not really find how to parse a
generated (compiled .proto is present) but "unknown" message.
So for example: I have messages types MessageA and MessageB. The
client component receives some bytes repre
I'm trying to use PB as a means to send data from a C++ system to a
Java-based ESB with BEEP as the underlying transport. For now, I'm
using a test Java client to inject messages, just to ensure that the
ESB is both listening and capable of processing the inbound messages.
I've validated that my m
Hi
Could someone please help and tell me if protobuf 2.2a can be
installed on windows xp with MSVC++6?
Thanks for your reply
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To u
> I just started looking into protobuf for a project of mine.
> From the Java Api page I could not really find how to parse a
> generated (compiled .proto is present) but "unknown" message.
>
> So for example: I have messages types MessageA and MessageB. The
> client component receives some bytes r
I see.
Another option is to send some kind of identifier preceding the
message (just like the total size of the message), right?
-- Chris
On Dec 3, 5:23 pm, Adam Vartanian wrote:
> > I just started looking into protobuf for a project of mine.
> > From the Java Api page I could not really find
> Another option is to send some kind of identifier preceding the
> message (just like the total size of the message), right?
Yep. In fact, the wrapper message is effectively a protobuf-native
version of that, using the tag number as the type identifier.
- Adam
--
You received this message bec
In Java you need to provide an ExtensionRegistry to the parse method
Something like:
ExtensionRegistry registry = ExtensionRegistry.newInstance();
Test.registerAllExtensions(registry);
Test.BsgRequest req = Test.BsgRequest.parseFrom(payload, registry);
On Thu, Dec 3, 2009 at 8:01 AM, Michael La
Jason, there is a project that contains the XML & JSON marshalers for
protobuf and back which would do exactly what you want:
http://code.google.com/p/protobuf-java-format
Thanks,
Alex
On Oct 13, 3:35 pm, Jason Smith wrote:
> I wrote a generic proto-to-xml routine (using TinyXML) that'll convert
Oh, so awesome! That worked - much obliged!
On Dec 3, 12:13 pm, Jason Hsueh wrote:
> In Java you need to provide an ExtensionRegistry to the parse method
>
> Something like:
>
> ExtensionRegistry registry = ExtensionRegistry.newInstance();
> Test.registerAllExtensions(registry);
>
> Test.BsgRequ
The protobuf format is the same on all platforms and in all languages. This
is one of the design goals.
On Thu, Dec 3, 2009 at 4:48 AM, mk wrote:
> Hi,
>
> I am trying to use protobuf to exchange data between program running
> on unix and another running on windows. Could someone help and tell
MSVC 6 is now over ten years old. We do not make any attempt to support
this compiler, although we might accept patches to support it if they are
not too intrusive.
On Thu, Dec 3, 2009 at 4:39 AM, mk wrote:
> Hi
> Could someone please help and tell me if protobuf 2.2a can be
> installed on wind
14 matches
Mail list logo