sharp zipsharp zip

时间:2021-09-09 09:34:41
【文件属性】:

文件名称:sharp zipsharp zip

文件大小:80KB

文件格式:ZIP

更新时间:2021-09-09 09:34:41

c#

GZipInputStream gzi = new GZipInputStream(response.ResponseStream); MemoryStream ms = new MemoryStream(); int count=0; byte[] uncompress =new byte[1024]; while ((count = gzi.Read(uncompress, 0, uncompress.Length)) != 0) { ms.Write(uncompress,0,count); } ms.Position = 0; GZipOutputStream gzip = new GZipOutputStream(ms); gzip.Write(data, 0, data.Length); gzip.Close(); dataCompressed = ms.ToArray();


【文件预览】:
SharpZip
----ICSharpCode.SharpZipLib.dll(204KB)
----ICSharpCode.SharpZipLib.dll.meta(467B)

网友评论