Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Zlib.crc32_combine

Zlib.crc32_combine(crc1, crc2, 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.

See also .crc32 .crc_table .adler32_combine .deflate also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0