On 29 Oct 94 21:18:00 +0000, Johnathan Taylor said:
>  N.> Umm, I think gzip will work on any
>  N.> file of any kind at all - to gzip it's
>  N.> all just bits and bytes, it doesn't
>  N.> care what it all means.

> Spot on:-)That's its problem!

IT is also its strength.  There is nothing to stop you from adding a 16-byte
header to each file before you compress it so that its file type and so on
can be put back correctly when it is decompressed.  Or you could completely
ignore that and just compress an area of memory.  For all I know, gzip could
have an OS-dependent header in it anyway - it's some time since I read the
file format documentation...

imc

Reply via email to