On 4 Feb 2009, at 08:33, Simon Owen wrote:
Andrew Collier wrote:
- an implementation of the inflate decompression algorithm from
RFC1951,
as used by gzip and other compatible utilities.
Very nice!
Can it be fed straight gzip file data, or does it need the file header
stripping from it first? I think I usually pass everything to zlib's
inflate, but it may well detect and skip it.
Hi,
The whole gz file. In fact I explicitly test for the gzip "magic
number" bytes at the beginning - it's one of the few opportunities to
sanity-check the input! Otherwise, a typo in your source address would
be very likely to crash the machine, and I thought this was perhaps a
little user-unfriendly...
Cheers,
Andrew
PS. By the way, Sourceforge have approved the project and so the
source files are now available.
--
--- Andrew Collier ----
---- http://www.intensity.org.uk/ ---
--