adler32(...)
public
Calculates Adler-32 checksum for string, and returns updated value
of adler. If string is omitted, it returns the Adler-32
initial value. If adler is omitted, it assumes that the initial
value is given to adler.
FIXME: expression.
Show source
/*
* call-seq: Zlib.adler32(string, adler)
*
* Calculates Adler-32 checksum for +string+, and returns updated value of
* +adler+. If +string+ is omitted, it returns the Adler-32 initial value. If
* +adler+ is omitted, it assumes that the initial value is given to +adler+.
*
* FIXME: expression.
*/
static VALUE
rb_zlib_adler32(argc, argv, klass)
int argc;
VALUE *argv;
VALUE klass;
{
return do_checksum(argc, argv, adler32);
}