home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / compress / 3068 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.compression
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!csd4.csd.uwm.edu!markh
  3. From: markh@csd4.csd.uwm.edu (Hunk)
  4. Subject: Re: random access with .Z files
  5. Message-ID: <1992Aug22.050858.10632@uwm.edu>
  6. Sender: news@uwm.edu (USENET News System)
  7. Organization: Computing Services Division, University of Wisconsin - Milwaukee
  8. References: <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp>
  9. Distribution: comp
  10. Date: Sat, 22 Aug 1992 05:08:58 GMT
  11. Lines: 13
  12.  
  13. In article <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp> robert@n051.saskg.semicon.sony.co.jp (Robert Veltman) writes:
  14. >
  15. >Is it possible to read a compressed file (LZW I think in the case of
  16. >UNIX compress) and extract the dictionary information in order to be
  17. >able to do random fseeks in the compressed file and decode from that
  18. >point on?
  19.  
  20. The compressed file is the dictionary.  It's not stored seperately, it's
  21. the whole thing!
  22.  
  23. However, I can think of a way that gets you close to random access.  Compress
  24. blocks at a time, reinitializing the compression between blocks, and store
  25. pointers to the compressed blocks in the file header.
  26.