<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: GZipStream is helpful, but has some missing features</title>
	<atom:link href="http://www.csharphacker.com/technicalblog/index.php/2009/07/27/gzipstream-helper-gzip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharphacker.com/technicalblog/index.php/2009/07/27/gzipstream-helper-gzip/</link>
	<description>Thoughts and ponderings on the technical world</description>
	<lastBuildDate>Fri, 06 Aug 2010 03:40:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Gareth</title>
		<link>http://www.csharphacker.com/technicalblog/index.php/2009/07/27/gzipstream-helper-gzip/comment-page-1/#comment-89</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Fri, 28 Aug 2009 02:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharphacker.com/technicalblog/?p=411#comment-89</guid>
		<description>The example in the above examples should do the trick

&lt;code&gt;// Gets natural decompressed file length from a compressed file.
GZipHelper actual = new GZipHelper();
actual.GetFileInformation(&quot;CSharpHackerSmallTest.txt.gz&quot;);
Assert.AreEqual(119, &lt;strong&gt;actual.DecompressedLength&lt;/strong&gt;);&lt;/code&gt;

Basically this is why the helper class was that the length of the uncompressed stream cannot be easily determined.</description>
		<content:encoded><![CDATA[<p>The example in the above examples should do the trick</p>
<p><code>// Gets natural decompressed file length from a compressed file.<br />
GZipHelper actual = new GZipHelper();<br />
actual.GetFileInformation("CSharpHackerSmallTest.txt.gz");<br />
Assert.AreEqual(119, <strong>actual.DecompressedLength</strong>);</code></p>
<p>Basically this is why the helper class was that the length of the uncompressed stream cannot be easily determined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Upendra</title>
		<link>http://www.csharphacker.com/technicalblog/index.php/2009/07/27/gzipstream-helper-gzip/comment-page-1/#comment-88</link>
		<dc:creator>Upendra</dc:creator>
		<pubDate>Thu, 27 Aug 2009 06:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharphacker.com/technicalblog/?p=411#comment-88</guid>
		<description>Hi,
I am doing like this:
GZipStream objCompressedStream = new GZipStream(objmod, CompressionMode.Compress, true);
objCompressedStream.Write(btReadArray, 0, aiNo_of_bytes_read);

Now when I am trying to get length of objCompressedStream using objCompressedStream.Length property it throws exception that operation is not supported.

Can anyone suggest the alternatives or some way to get the length of compressed stream

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am doing like this:<br />
GZipStream objCompressedStream = new GZipStream(objmod, CompressionMode.Compress, true);<br />
objCompressedStream.Write(btReadArray, 0, aiNo_of_bytes_read);</p>
<p>Now when I am trying to get length of objCompressedStream using objCompressedStream.Length property it throws exception that operation is not supported.</p>
<p>Can anyone suggest the alternatives or some way to get the length of compressed stream</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
