You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think I understand what you mean on this one. What do you mean "orderless stream?"
yinyue200
changed the title
when I create a zip file to a seekable stream that contain some content, the stream will be orderless
when I create a zip file to a seekable stream that contain some content,the zip content overrides the original content
May 30, 2017
using (var file = System.IO.File.Create("D:\\a.zip")) { var bt=System.Text.Encoding.UTF8.GetBytes("https://github.com/adamhathcock/sharpcompress/issues/244"); file.Write(bt,0,bt.Length); using (var zw = new SharpCompress.Writers.Zip.ZipWriter(file, new SharpCompress.Writers.Zip.ZipWriterOptions(SharpCompress.Common.CompressionType.Deflate))) { zw.WriteToStream("a",new SharpCompress.Writers.Zip.ZipWriterEntryOptions()).Dispose(); } }
And the file will not start with the URL. @adamhathcock
English is not my native language; please excuse typing errors.
Thanks
The text was updated successfully, but these errors were encountered: