Posted on January 28, 2015
By Elliot Balynn
Exercises in .NET with Andras Nemes
BZip2 is yet another data compression algorithm, similar to GZip and Deflate. There’s no native support for BZip2 (de)compression in .NET but there’s a NuGet package provided by icsharpcode.net.
You’ll need to import the following NuGet package to use BZip2:
You can compress a file as follows:
…and this is how you can decompress the resulting bz2 file again:
Read all posts dedicated to file I/O here.
View original post
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Elliot Balynn's Blog
Blog at WordPress.com.