class method
Zlib.crc32_combine
(::Integer, ::Integer, ::Integer) -> ::Integer
Zlib.crc32_combine(crc1, crc2, len2)
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_zlib_crc32_combine(VALUE klass, VALUE crc1, VALUE crc2, VALUE len2)
{
return ULONG2NUM(
crc32_combine(NUM2ULONG(crc1), NUM2ULONG(crc2), NUM2LONG(len2)));
}
Combine two CRC-32 check values in to one. crc1 is the first CRC-32 value, crc2 is the second CRC-32 value. len2 is the length of the string used to generate crc2.