[Issue 8779] New: std.zlib.UnCompress needs a way to detect end-of-stream
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 8 02:43:03 PDT 2012
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 at puremagic.com
ReportedBy: sludwig at outerproduct.org
--- Comment #0 from Sönke Ludwig <sludwig at outerproduct.org> 2012-10-08 02:24:53 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: -------
More information about the Digitalmars-d-bugs
mailing list