Quantcast
Channel: C# Help » compression
Browsing latest articles
Browse All 4 View Live

Introduction Zip Format

Introduction This is SQL Server Backup and restore tool, the system will store the backup files in standard Zip format ,the user-friendly screen let you backup and restore SQL Server database to local...

View Article



Compress and decompress strings in C#

A couple of days ago, I had to store some verybig strings in an XML file. To keep the file size down I wanted tocompress the strings using a GZipStream and then decompress them laterwhen needed. I...

View Article

Compression Using DeflateStream and GZipStream

The .NET System.IO.Compression namespace provides two general purpose compressions streams –  DeflateStream and GZipStream. Both these compressions streams use popular compression algorithm which is...

View Article

Compressing in Memory using MemoryStream

Sometimes you need to compress entirely in memory. Here’s how to use a MemoryStream for this purpose: byte[] data = new byte[1000]; // We would expect a good compression ratio from an empty array! var...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images