www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14821] New: First argument of std.zlib.uncompress should be

https://issues.dlang.org/show_bug.cgi?id=14821

          Issue ID: 14821
           Summary: First argument of std.zlib.uncompress should be const
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: briancschott gmail.com

According to the documentation for zlib the process of decompressing data does
not modify the compressed data. The buffer that is passed to uncompress()
should be marked const.

--
Jul 22 2015