On Tue, Jan 29, 2013 at 11:23 AM, David Granados <[email protected]> wrote:
> this does not work :-(

That's not really a useful description of the problem.

>       229   google::protobuf::io::GzipOutputStream
> gzip_stream(&arrayStream);
>       230   if (!pProto.SerializeToZeroCopyStream(&gzip_stream))
>       231   {
>       232     std::cerr << "Error comprimiendo el proto a string." <<
> std::endl;
>       233   }

You should call gzip_stream.Flush() or gzip_stream.Close() after this,
before using the results in arrayStream.

Oliver

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to