Hi,

This is the "protobuf" discussion group.  For "protobuf-c", see:

    https://groups.google.com/forum/#!forum/protobuf-c

In answer to your question, protobuf-c requires dynamic memory
allocation to deserialize a message.  If you are trying to avoid memory
allocation, you may be interested in the "nanopb" implementation
instead:

    http://koti.kapsi.fi/jpa/nanopb/

hailong zhao wrote:
> i also hv the same question. 
> 
> 在 2012年8月3日星期五UTC+8上午12时06分56秒,Julien PONNOU写道:
> >
> > Hello,
> >
> > I'm using the C version of protobuf. I'm wondering if there is a way to 
> > not allocate memory dynamically to serialize/deserialize a message. In 
> > other words, is there a "ZERO ALLOCATION" method to use it ?
> >
> > Best regards,
> >
> > Julien.

-- 
Robert Edmonds

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to