{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "implemented in changeset 44987.  First binary 1.9.0.21.",
    "ClosedDate": "2009-10-14T21:18:48.313-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "When saving a zip to a stream, the offsets in the zip metadata should consider the stream position, and not the bytes written \"so far\" in the zip output.  \n \nThe enables zip data to be appended to any existing stream.  One scenario enabled by this: people can create custom self-extracting archives by doing something like this: \n \n            Using output As System.IO.Stream = File.Open(outputFile, FileMode.Create)\n                \n                Using zp As New ZipFile\n \n                    zp.AddFiles(Directory.GetFiles(directoryToZip), False, \"\")\n \n                    Using input As System.IO.Stream = File.Open(sfxStub, FileMode.Open)\n                        While n <> 0\n                            n = input.Read(buffer, 0, buffer.Length)\n                            If n <> 0 Then\n                                output.Write(buffer, 0, n)\n                            End If\n                        End While\n                    End Using\n \n                    zp.Save(output)\n \n                End Using\n                    \n            End Using",
    "LastUpdatedDate": "2013-05-16T05:32:03.197-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-10-14T21:16:08.103-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Enable custom Self Extracting EXE",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 8985
  },
  "FileAttachments": [],
  "Comments": []
}