473,405 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Any support in C# for zlib inflate/deflate?

I need to use standard zlib inflate/deflate procedures... does c# support
this?

how/where are the relevant classes?
Mar 31 '06 #1
3 13568
There is native support for the standard inflate / deflate method in the .NET
2.0 Compression namespace. If you want more control, ICSharpCode.SharpZiplib
is an open source library that offers more options and is compatible with the
native Zlib functions.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"MrNobody" wrote:
I need to use standard zlib inflate/deflate procedures... does c# support
this?

how/where are the relevant classes?

Mar 31 '06 #2
..NET Framework 2.0 has implementation of zip algorithms, but can't handle
zip files (e.g. read the headers etc)look at the System.IO.Compression
namespace. Another possibility is to use libraries from J# or some third
party zip libraries, like the open source sharpziplib.

"MrNobody" <Mr******@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
I need to use standard zlib inflate/deflate procedures... does c# support
this?

how/where are the relevant classes?

Mar 31 '06 #3
On Fri, 31 Mar 2006 07:06:03 -0800, MrNobody
<Mr******@discussions.microsoft.com> wrote:
I need to use standard zlib inflate/deflate procedures... does c# support
this?

how/where are the relevant classes?

I've used sharpziplib and it works well.

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
Apr 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: | last post by:
Hi, Why no inverse of this method? We can inflate but not deflate or shrink? Thanks.
4
by: Peter | last post by:
Hi, Not sure if this is a proper ng to post this question. Is here anybody who has used zlib? I downloaded 1.2.1 of zlib from www.gzip.org/zlib (for windows 98/nt/2000/xp), and used it in my...
16
by: Claudio Grondi | last post by:
What started as a simple test if it is better to load uncompressed data directly from the harddisk or load compressed data and uncompress it (Windows XP SP 2, Pentium4 3.0 GHz system with 3 GByte...
1
by: nagrik | last post by:
Hello Group, I am writing a http client and reading a web page from the server. The page can be compressed in any of the format namely; gzip or deflate or compress. My client reads the page...
6
by: Pat B | last post by:
Hi, I'm writing my own implementation of the Gnutella P2P protocol using C#. I have implemented it using BeginReceive and EndReceive calls so as not to block when waiting for data from the...
0
by: Bint | last post by:
Hello, I am trying to decompress some data in a file, from PHP. It's data that has been zlib-compressed on a handheld device and sent wirelessly to the PHP server. I can open the file and...
2
by: Bint | last post by:
Hi, I asked a question yesterday but no one answered, I will try again. Anyone use stream_filter_append, specifically to decompress zlib-compressed data? I'm trying to use it on a section of data...
5
by: tombrogan3 | last post by:
Hi, I need to implement in-memory zlib compression in c# to replace an old c++ app. Pre-requisites.. 1) The performance must be FAST (with source memory sizes from a few k to a meg). 2) The...
2
by: pankajit09 | last post by:
use strict ; use warnings ; use Compress::Zlib ; my $x = inflateInit() or die "Cannot create a inflation stream\n" ; my $input = '' ; ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.