I need compress a protobuff, and decompress, (i am testing by now).

I have got it using a temporal file but now, i want to get the same, using 
only string (without temporal file, increase speed). 

By now. i'm testing. I know the proto is 192 without compress and 80 
(aprox) compressed. 

If i write the size and is 192, compress does not work.

But, i need the proto compress.

Regards

El miércoles, 30 de enero de 2013 12:01:46 UTC+1, Oliver escribió:
>
> On Wed, Jan 30, 2013 at 8:06 AM, David Granados 
> <[email protected]<javascript:>> 
> wrote:
> > This is all the code for the example. Thanks in advance.
>
> What is the output that you expect? What do you actually get?
>
>   std::cout << gzip_stream.ByteCount()<<std::endl;
>
>
> This counts the number of uncompressed bytes written to the stream. Is 
> that what you were expecting to measure?
>
> 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