I'd like to implement zlib in pure ruby, but in the mean time, I think
this should be good enough. Time will tell.  Once we get a good
collection of these libraries together we'll be able to see what's
really needed ;)

Anyway, updated zlib.rb attached, it performs the Gzip and Zlib
decompression... I'm not sure exactly what finish is suppose to do,
the docs are unclear.  I suspect it may not be applicable to the way
I'm returning the decompressed output...

On Fri, Mar 7, 2008 at 2:43 AM, John Messerly <[EMAIL PROTECTED]> wrote:
> Michael Letterle:
>
>
>  > Alright, I started doing this tonight (finally)  GZip was pretty
>  > straight forward, but Inflate may be a problem,  The
>  > System::IO::Compression.DeflateStream is RFC 1951 compliant /not/
>  > 1950.. Meaning it only covers Deflate, not ZLib in general. See here:
>  > https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?
>  > F
>  > eedbackID=97064&wa=wsignin1.0
>  >
>  > I'll research this more tomorrow, I'd hate to have to have an external
>  > dependency like Zlib.NET
>
>  Yeah, DeflateStream only implements the basic deflate algorithm, with no 
> configuration options. Worse, it doesn't have particularly good compression 
> ratio. Definitely worth investigating a port of a more fully featured 
> library...
>
>  - John
>
>
>
>  _______________________________________________
>  Ironruby-core mailing list
>  [email protected]
>  http://rubyforge.org/mailman/listinfo/ironruby-core
>



-- 
Michael Letterle
[Polymath Programmer]
http://michaeldotnet.blogspot.com

Attachment: zlib.rb
Description: Binary data

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to