Re: ANNOUNCE: SAMflate - gzip file decoder
Andrew Collier wrote: > Hello all, > > I would like to announce immediate availability of a new program: > > SAMflate Great work Andrew, will have to have a play with it! Colin = Quazar : Hardware, Software, Spares and Repairs for the SAM Coupe 1995-2009 - Celebrating 15 Years of developing for the SAM Coupe Website: http://www.samcoupe.com/
Re: ANNOUNCE: SAMflate - gzip file decoder
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/ --- --
Re: ANNOUNCE: SAMflate - gzip file decoder
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. Si
Re: ANNOUNCE: SAMflate - gzip file decoder
Quoting Andrew Collier : Hello all, I would like to announce immediate availability of a new program: SAMflate Excellent work Andrew!