Nigel Pickard wrote:
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
On Dec 7, 2009, at 0:02 , lexer wrote:
Adam, Could you please show simple example how to use tag number for
dispatch purpose.
I believe he was referring to this sort of thing:
http://code.google.com/apis/protocolbuffers/docs/techniques.html#union
Hope this helps,
Evan
--
Evan Jones
Oliver:
thanks for the reply. I'm not going to use Object IO streams, rather
I used it as an example of how the IO stream type seems to make a
difference at each end. Further, I now realize that once I use an IO
stream type, I must use the same type of stream at each ends of a Java
app I
Anyway, for anyone else wanting to use ByteArrayStream in Java for
writing a Google , here is some code I've used:
ServerSocket serverSocket = new ServerSocket(2004, 10);
Socket socket = serverSocket.accept();
OutputStream outputStream = socket.getOutputStream();
outputStream.flush();
Thank you guys. It was helpful.
--
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 unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more
Here's an example from some code I wrote this weekend:
http://code.google.com/p/pbcap/source/browse/pbcap.proto -- Pay attention to
the Stream type.
http://code.google.com/p/pbcap/source/browse/Connection.java -- See
readOneMessage() and writeMessage().
The idea here is that the Stream message
We are currently using protobuf on our project and it is great, but
there are a few things we are needing to do manually which seem like
they could be easily code generated and supported natively by the
protobuf objects. Any chance of the following features being added
in? (Or maybe they're
On Mon, Dec 7, 2009 at 10:57 AM, Tim tim.es...@gmail.com wrote:
We are currently using protobuf on our project and it is great, but
there are a few things we are needing to do manually which seem like
they could be easily code generated and supported natively by the
protobuf objects. Any