Re: LZ: Compression program


[Prev][Next][Index][Thread]

Re: LZ: Compression program



On Sun, 8 Sep 1996, Alan Bailey wrote:


> > BarryThat's a good idea, there's the ZShell header the first two bytes, and 
> then the desription of the program next, so it might be 15 or so.  But 
> maybe the first byte after the description could tell the unzipper and 
> zipper how many bytes to skip, like this:
> 
> $02, $FF,$FF <this is the high score, and then comes the acrtual code
> ^
> skip two bytes
> This could take some refining, but it's a start


Something like that could work but it would make compressing it more
error prone.  The correct number of bytes to skip would have to be
entered when the file was compressed.  By using a fixed number
the compressor would just do it the same every time.  It doesn't
really matter what number of bytes is left uncompressed.  Whatever
works.


Barry


References: