
18 Oct
2005
18 Oct
'05
5:53 p.m.
On 2005-10-18, Joel Reymont
Are there any zlib bindings for Haskell? The docs for HDirect mention the examples directory with the bindings but I cannot find the examples directory in the source distro.
The MissingH code works with gzipped files apparently but not with memory buffers.
Actually, check out: http://quux.org/devel/missingh/html/MissingH-FileArchive-GZip.html#v%3Adecom... It will work with String buffers. Now, having said that, this code is slow, for a variety of reasons. Whether or not it is fast enough for you probably depends on your network. I also have bindings to gzip and bzip2 in MissingPy; however, they are currently written for on-disk files only. -- John