Compress and Decompress in

Hi Guys,
Just wanted to share a very simple code example to compress and decompress in

Here it goes.

From File????
If you are trying to compress and de-compress a file then use this to read into a file.

To Read from File
byte[] rawData = File.ReadAllBytes(FileName);
To Write to a File

Have Fun

No comments:

Post a Comment

Your comment will inspire me, Please leave your comment