Read and Write compressed data to a binary file using ASP.NET (dotnetcurry.com)
submitted by
vivekamar(5940) 3 years, 4 months ago
The BinaryReader and BinaryWriter in System.IO namespace read and write primitive types in binary, to a stream. The System.IO.Compression.GZipStream provides methods and properties to compress and decompress the stream. In this article, we will learn how to use compression techniques to compress the stream and write it to a binary file. We will then use the BinaryReader and the GZipStream class to decompress and read the file to display it on the webpage.
|category: ASP.NET
|Views: 148
tags:
ASP.NET C# another
Everyones tags:
Your Tags: