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