readme.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. _____________________________________________________________________________
  2. PASZLIB 1.0 May 11th, 1998
  3. Based on the zlib 1.1.2, a general purpose data compression library.
  4. Copyright (C) 1998 by NOMSSI NZALI Jacques H. C.
  5. [kn&n DES] See "Legal issues" for conditions of distribution and use.
  6. _____________________________________________________________________________
  7. Introduction
  8. ============
  9. The 'zlib' compression library provides in-memory compression and
  10. decompression functions, including integrity checks of the uncompressed
  11. data. This version of the library supports only one compression method
  12. (deflation) but other algorithms will be added later and will have the same
  13. stream interface.
  14. Compression can be done in a single step if the buffers are large
  15. enough (for example if an input file is mmap'ed), or can be done by
  16. repeated calls of the compression function. In the latter case, the
  17. application must provide more input and/or consume the output
  18. (providing more output space) before each call.
  19. The default memory requirements for deflate are 256K plus a few kilobytes
  20. for small objects. The default memory requirements for inflate are 32K
  21. plus a few kilobytes for small objects.
  22. Change Log
  23. ==========
  24. May 7th 1999 - Some changes for FPC
  25. deflateCopy() has new parameters
  26. trees.pas - record constant definition
  27. June 17th 1998 - Applied official 1.1.2 patch.
  28. Memcheck turned off by default.
  29. zutil.pas patch for Delphi 1 memory allocation corrected.
  30. dzlib.txt file added.
  31. compress2() is now exported
  32. June 25th 1998 - fixed a conversion bug: in inftrees.pas, ZFREE(z, v) was
  33. missing in line 574;
  34. File list
  35. =========
  36. Here is a road map to the files in the Paszlib distribution.
  37. readme.txt Introduction, Documentation
  38. dzlib.txt Changes to Delphi sources for Paszlib stream classes
  39. include file
  40. zconf.inc Configuration declarations.
  41. Pascal source code files:
  42. adler.pas compute the Adler-32 checksum of a data stream
  43. crc.pas compute the CRC-32 of a data stream
  44. gzio.pas IO on .gz files
  45. infblock.pas interpret and process block types to last block
  46. infcodes.pas process literals and length/distance pairs
  47. inffast.pas process literals and length/distance pairs fast
  48. inftrees.pas generate Huffman trees for efficient decoding
  49. infutil.pas types and macros common to blocks and codes
  50. minigzip.pas simulate gzip using the zlib compression library
  51. strutils.pas string utilities
  52. trees.pas output deflated data using Huffman coding
  53. zcompres.pas compress a memory buffer
  54. zdeflate.pas compress data using the deflation algorithm
  55. zinflate.pas zlib interface to inflate modules
  56. zlib.pas zlib data structures. read the comments there!
  57. zuncompr.pas decompress a memory buffer
  58. zutil.pas
  59. Test applications
  60. example.pas usage example of the zlib compression library
  61. minigzip.pas simulate gzip using the zlib compression library
  62. Legal issues
  63. ============
  64. Copyright (C) 1998 by Jacques Nomssi Nzali
  65. This software is provided 'as-is', without any express or implied
  66. warranty. In no event will the author be held liable for any damages
  67. arising from the use of this software.
  68. Permission is granted to anyone to use this software for any purpose,
  69. including commercial applications, and to alter it and redistribute it
  70. freely, subject to the following restrictions:
  71. 1. The origin of this software must not be misrepresented; you must not
  72. claim that you wrote the original software. If you use this software
  73. in a product, an acknowledgment in the product documentation would be
  74. appreciated but is not required.
  75. 2. Altered source versions must be plainly marked as such, and must not be
  76. misrepresented as being the original software.
  77. 3. This notice may not be removed or altered from any source distribution.
  78. Archive Locations:
  79. ==================
  80. Check the Paszlib home page with links
  81. http://www.tu-chemnitz.de/~nomssi/paszlib.html
  82. The data format used by the zlib library is described by RFCs (Request for
  83. Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt
  84. (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
  85. These documents are also available in other formats from
  86. ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.
  87. _____________________________________________________________________________
  88. Jacques Nomssi Nzali <mailto:[email protected]> May 7th, 1999