GZip File Reading
dsimcha
dsimcha at yahoo.com
Thu Mar 10 06:24:37 PST 2011
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.
More information about the Digitalmars-d
mailing list