On 3/10/2011 4:59 AM, Walter Bright wrote:
On 3/9/2011 8:53 PM, dsimcha wrote:
I'd like to get some comments on what an appropriate API design and
implementation for writing gzipped files would be. Two key
requirements are that
it must be as easy to use as std.stdio.File and it must be easy to
extend to
support other single-file compression formats like bz2.

Use ranges.

Ok, obviously. The point was trying to figure out how to maximize the reuse of the infrastructure from std.stdio.File.

Reply via email to