Ruby Zlib Functions
EditRocket provides the following information on Zlib functions in the Ruby source code builder.
adler32" Zlib.adler32(string, adler) - Calculates Alder-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.
crc32" 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.
crc_table() - Returns the table for calculating CRC checksum as an array.
zlib_version() - Returns the string which represents the version of zlib library.