{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "implemented in changeset 79079.  First binary&#58; v1.9.1.6",
    "ClosedDate": "2011-06-13T19:53:41.12-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "The developer is experiencing problem with a self extracting archive that uses a custom SFX stub, saved directly to Response.OutputStream. \n \nHere's the thing.  Suppose you open a filesystem file (getting a FileStream), save\n a custom sfx stub into it, and then call ZipFile.Save() into that FileStream.  ZipFile.Save() does the right thing for the zipentry offsets, by inquiring the Position of the FileStream before writing any data, and then adding that initial offset into\n any ZipEntry offsets in the zip directory.  \n \nThis does not work for HttpResponse.OutputStream, because it is not possible to inquire the Position on that stream.  Position is not defined for that stream type.  Therefore the writes that happen within the context of ZipFile.Save() cannot do\n the fixup arithmetic.\n \nThe workaround is for the application to wrap HttpResponse.OutputStream in a wrapper stream that supports the Position property; then write the SFX stub and the ZipFile into that wrapper stream. Because ZipFile.Save() can inquire the Position, it will then do the right thing with the offsets.   In the source for DotNetZip, there is a wrapper stream class called CountingStream that does exactly what you want; unfortunately it is limited to internal use. \n \nThis workitem is a request to expose that class publicly, and document it.",
    "LastUpdatedDate": "2013-05-16T05:31:42.337-07:00",
    "PlannedForRelease": "v1.9.1.8 DotNetZip - Latest Stable",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2010-10-26T18:07:40.117-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "expose CountingStream as a public type",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 12374
  },
  "FileAttachments": [],
  "Comments": []
}