2009/7/31 Brian J. Tarricone <bj...@cornell.edu>:
> On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote:
>
>>  From the looks of it, it should be straight forward to write
>> GZip{In,Out}putStream classes based on zlib
>
> I'd say call it GCompressed{In,Out}putStream and have it either auto-detect
> the compression type, or have a param in the API to specify from an enum (or
> both).  People can add support for other types of compression as time goes
> on.

The prime benefit of having dedicated classes over your approach is
having syntactically ensured that you are indeed working with GZipped
buffers. Personally I like that, but this is of course 100%
subjective.

-- 
Cheers,
Mikkel
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to