[protobuf] Re: Issue 248 in protobuf: protobuf will not compile without thread library

2013-04-23 Thread protobuf
Comment #21 on issue 248 by bschlin...@inbound5.com: protobuf will not compile without thread library http://code.google.com/p/protobuf/issues/detail?id=248 Another solution is to use nanopb: http://koti.kapsi.fi/jpa/nanopb/ This worked well for a recent embedded systems project which used

[protobuf] Re: Issue 213 in protobuf: libprotobuf.so.6 not found after installation

2013-04-23 Thread protobuf
Comment #17 on issue 213 by radu.m.t...@gmail.com: libprotobuf.so.6 not found after installation http://code.google.com/p/protobuf/issues/detail?id=213 ldconfig made my day -- You received this message because this project is configured to send all issue notifications to this address.

[protobuf] [java] serialize to the static buffer

2013-04-23 Thread adam.h
Hi Protobufs Apostles, There is nice function to deserialize from the buffer - mergeFrom(buf, offs, size), but how can you serialize similar way? I do not see anything like writeTo(buf, offs, size). I would like to avoid allocating bytes[] each time when serializing message - so what is

Re: [protobuf] [java] serialize to the static buffer

2013-04-23 Thread Oliver Jowett
https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/CodedOutputStream.html#newInstance(byte[], int, int) On Tue, Apr 23, 2013 at 7:12 PM, adam.h adam.p.haj...@gmail.com wrote: Hi Protobufs Apostles, There is nice function to deserialize from the buffer -

Re: [protobuf] [java] serialize to the static buffer

2013-04-23 Thread adam.h
great, thanks for this hint! /A. W dniu środa, 24 kwietnia 2013 00:17:08 UTC+2 użytkownik Oliver napisał: https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/CodedOutputStream.html#newInstance(byte[], int, int) On Tue, Apr 23, 2013 at 7:12 PM, adam.h