Simple class with static Zip and Unzip functions. Implements System.IO.Compression.GZipStream for compression.
Static Public Member Functions | |
| static string | Unzip (byte[] bytes) | 
| Takes the provided bytes and assumes they makeup a gzipped string. It attempt to decompress the strings and return it.   | |
| static byte[] | UnzipBytes (byte[] bytes) | 
| Takes the provided bytes and assumes they makeup a gzipped string. It attempt to decompress the strings and return it.   | |
| static byte[] | UnzipBytes (Stream sourceStream) | 
| Takes the provided bytes and assumes they makeup a gzipped string. It attempt to decompress the strings and return it.   | |
| static byte[] | Zip (Stream msi) | 
| Takes the data provided by the supplied stream, and zips it into a byte array, which is returned.   | |
| static byte[] | Zip (string str) | 
| takes the contents of the provided string, and zips it into a byte array, which is returned.   | |
| static byte[] | ZipBytes (byte[] bytes) | 
| takes the contents of the provided string, and zips it into a byte array, which is returned.   | |