<?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"
	>
<channel>
	<title>Comments on: readGZippedText() UDF</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<pubDate>Thu, 20 Nov 2008 08:52:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Sami Hoda</title>
		<link>http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26676</link>
		<dc:creator>Sami Hoda</dc:creator>
		<pubDate>Fri, 27 Jul 2007 18:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26676</guid>
		<description>I'd submit this to cflib. Useful!</description>
		<content:encoded><![CDATA[<p>I'd submit this to cflib. Useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26660</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Fri, 27 Jul 2007 15:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26660</guid>
		<description>Dan,

I wonder if the exception was do to the wholesale conversion from the ByteArrayOutputStream buffer to a String.  I haven't cracked 10MB yet, so I can't say if mine will have the same problem, but I'm doing that conversion a piece at a time (via the Reader/StringBuilder arrangement).   More simply, I'm reading textual characters a line at a time, rather than bytes 1024 at a time, into my output "thing".  I'll definitely post back if/when I cross that threshold though.</description>
		<content:encoded><![CDATA[<p>Dan,</p>
<p>I wonder if the exception was do to the wholesale conversion from the ByteArrayOutputStream buffer to a String.  I haven't cracked 10MB yet, so I can't say if mine will have the same problem, but I'm doing that conversion a piece at a time (via the Reader/StringBuilder arrangement).   More simply, I'm reading textual characters a line at a time, rather than bytes 1024 at a time, into my output "thing".  I'll definitely post back if/when I cross that threshold though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan G. Switzer, II</title>
		<link>http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26658</link>
		<dc:creator>Dan G. Switzer, II</dc:creator>
		<pubDate>Fri, 27 Jul 2007 14:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26658</guid>
		<description>@Barney:

I wrote a similar function a couple years ago:
http://blog.pengoworks.com/blogger/index.cfm?action=blog:501

You're using a StringBuffer and I used a ByteArrayOutputStream, but I ran into some Buffer Overflow errors if the GZIP'ed content was too large.

In my case I was reading in an XML packet that had been GZIP'ed and the XML files could get pretty large. 

Just something you might want to test for...</description>
		<content:encoded><![CDATA[<p>@Barney:</p>
<p>I wrote a similar function a couple years ago:<br />
<a href="http://blog.pengoworks.com/blogger/index.cfm?action=blog:501" rel="nofollow">http://blog.pengoworks.com/blogger/index.cfm?action=blog:501</a></p>
<p>You're using a StringBuffer and I used a ByteArrayOutputStream, but I ran into some Buffer Overflow errors if the GZIP'ed content was too large.</p>
<p>In my case I was reading in an XML packet that had been GZIP'ed and the XML files could get pretty large. </p>
<p>Just something you might want to test for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boyan</title>
		<link>http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26649</link>
		<dc:creator>Boyan</dc:creator>
		<pubDate>Fri, 27 Jul 2007 12:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/07/26/readgzippedtext-udf/#comment-26649</guid>
		<description>This could come in handy. It's going in my Source Code library. Thanks.</description>
		<content:encoded><![CDATA[<p>This could come in handy. It's going in my Source Code library. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
