https://issues.dlang.org/show_bug.cgi?id=18773
Issue ID: 18773
Summary: Constraints on buffer re-use for std.zlib should be
documented.
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
The Compress and UnCompress classes have undocumented restrictions on when the
buffers passed to their `compress` and `uncompress` methods can be re-used.
This needs to be fixed so that people are not accidentally creating or reading
corrupted data.
--