home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / compress / 4411 < prev    next >
Encoding:
Text File  |  1993-01-07  |  997 b   |  35 lines

  1. Newsgroups: comp.compression
  2. Path: sparky!uunet!mcsun!Germany.EU.net!rzsun2.informatik.uni-hamburg.de!swt7!hess
  3. From: hess@swt7.informatik.uni-hamburg.de (Hauke Hess)
  4. Subject: Source for Lempel-Ziv
  5. Message-ID: <hess.726398005@swt7>
  6. Summary: where could I find
  7. Keywords: lempel
  8. Sender: news@informatik.uni-hamburg.de (Mr. News)
  9. Organization: University of Hamburg, FRG
  10. Distribution: comp
  11. Date:  7 Jan 93 09:13:25 GMT
  12. Lines: 21
  13.  
  14. Hi,
  15.  
  16. I would like to save some space by storing long data structures
  17. temporary in a compressed form. Though I don`t want to loose much
  18. time in compressing and decompressing them, I look for a
  19. lempel-ziv coder/decoder source, that will make it as simple as
  20. possible to store and retrive huge arrays. I imagine the
  21. following operations:
  22.  
  23. storeID = store(char *ptr, size);
  24.  
  25. will store the array pointed to by ptr of size "size" and return the
  26. ID.
  27.  
  28. size = retrieve(char *ptr, storeID);
  29.  
  30. will decode the through storeID referenced array into ptr and
  31. return the size.
  32.  
  33. Hauke
  34.  
  35.