www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8779] New: std.zlib.UnCompress needs a way to detect end-of-stream

http://d.puremagic.com/issues/show_bug.cgi?id=8779

           Summary: std.zlib.UnCompress needs a way to detect
                    end-of-stream
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: sludwig outerproduct.org



PDT ---
The return value of the inflate() call is currently not distinguished between
Z_OK and Z_STREAM_END. However, this information is necessary if the size of
the inflated stream is unknown. UnCompress either needs to return a status with
each uncompress() call, or, probably better, get an empty() property that is
set accordingly.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 08 2012