<P>Two functions are provided by <EM>zlib</EM> to calculate a checksum. For the
Perl interface, the order of the two parameters in both functions has
been reversed. This allows both running checksums and one off
calculations to be done.</P>
<PRE>
$crc = adler32($buffer [,$crc]) ;
$crc = crc32($buffer [,$crc]) ;</PRE>
<P>The buffer parameters can either be a scalar or a scalar reference.</P>
<P>If the $crc parameters is <A HREF="../../../lib/Pod/perlfunc.html#item_undef"><CODE>undef</CODE></A>, the crc value will be reset.</P>
<P>
<HR>
<H1><A NAME="constants">CONSTANTS</A></H1>
<P>All the <EM>zlib</EM> constants are automatically imported when you make use
of <EM>Compress::Zlib</EM>.</P>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>The <EM>Compress::Zlib</EM> module was written by Paul Marquess,
<EM><A HREF="mailto:Paul.Marquess@btinternet.com">Paul.Marquess@btinternet.com</A></EM>. The latest copy of the module can be
found on CPAN in <EM>modules/by-module/Compress/Compress-Zlib-x.x.tar.gz</EM>.</P>
<P>The <EM>zlib</EM> compression library was written by Jean-loup Gailly
<EM><A HREF="mailto:gzip@prep.ai.mit.edu">gzip@prep.ai.mit.edu</A></EM> and Mark Adler <EM><A HREF="mailto:madler@alumni.caltech.edu">madler@alumni.caltech.edu</A></EM>.
It is available at <EM><A HREF="ftp://ftp.uu.net/pub/archiving/zip/zlib*">ftp://ftp.uu.net/pub/archiving/zip/zlib*</A></EM> and