to flush the CodedOutputStream.
>
> You should just do this instead:
>
> byte[] data = person.build().toByteArray();
>
> On Thu, Jul 2, 2009 at 12:44 AM, J.V. <mailto:jvsr...@gmail.com>> wrote:
>
>
> I'm trying to get the following to work but not
Which class in the ProtoBuf Java api would be used to encode to a binary
stream?
Is there a short example or tutorial on how to encode (using Java) to a
binary stream for RCP?
a short code snippet on how to encode/decode would be super helpful.
thanks
jrv
--~--~-~--~~---
I'm trying to get the following to work but nothing is being written to
the output stream.
any ideas?
private void testEncode() throws Exception {
OutputStream out = new ByteArrayOutputStream();
CodedOutputStream cos = CodedOutputStream.newInstance(out);
Person.perso
In order to get the Java implementation I have to compile some C++ code,
but have limited resources on my machine at this time to install a compiler.
Where can I get the Java jar to drop into my project for Win32?
thanks
J.V.
--~--~-~--~~~---~--~~
You received
thanks, which product(s) does Google use internally or find most beneficial?
Kenton Varda wrote:
> You could look at one of the open source RPC implementations listed here:
>
> http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns#RPC_Implementations
>
--~--~-~--~~~