Reviewers: peter.keen_gmail.com,

Description:
Hi Peter, I decided to extend this patch a bit.  I didn't like all the
default options to the constructor, so I created a separate Options
struct -- this way people don't have to set a buffer size in order to
set compression level (which is good because almost no one should care
about buffer size).  I also added tests.  At Google we have a policy of
reviewing all code before submission, so please take a look at the diffs
and let me know if it looks good to you.

Please review this at http://codereview.appspot.com/96211

Affected files:
   M     src/google/protobuf/io/gzip_stream.cc
   M     src/google/protobuf/io/gzip_stream.h
   M     src/google/protobuf/io/zero_copy_stream_unittest.cc



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to