DeflateStream 4GB Limit in .NET

2019-01-19 19:17发布

From MSDN: DeflateStream Class

DeflateStream cannot be used to compress files larger than 4 GB.

Are there any other implementations for .NET without the 4 GB limit?

NOTE: I really need to decompress a file in GZ format with content larger than 4 GB. Can any code do that?

7条回答
混吃等死
2楼-- · 2019-01-19 19:45

There is sample code at CodeProject using the 7-Zip library.

The license is open, so you should be able to use this in your project.

7-Zip also supports GZ files.

查看更多
登录 后发表回答