#ZipLib 解压缩 GZip 时出错

发布于 2024-07-13 18:06:02 字数 147 浏览 5 评论 0原文

我在尝试使用 #ZipLib 0.85.5 解压缩一些 GZ 文件时遇到此错误

这些文件没有损坏,我可以使用 7-Zip 正确解压缩它。

ICSharpCode.SharpZipLib.SharpZipBaseException 意外的 EOF

I'm getting this error while trying to decompress some GZ files with #ZipLib 0.85.5

Those file are not corrupted, I'm able to decompress it correctly using 7-Zip.

ICSharpCode.SharpZipLib.SharpZipBaseException Unexpected EOF

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

还如梦归 2024-07-20 18:06:03

您可以尝试不同的托管库吗? 我对 Sharpziplib 不太了解,但为什么不直接使用内置的 System.IO.Compression.GZipStream 来解压 .gz 数据?

You could try a different managed library? I don't know much about sharpziplib, but why wouldn't you just use the built-in System.IO.Compression.GZipStream to unpack .gz data ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文