module Zlib
Overview
The Zlib module provides access to the zlib library for lossless data compression and decompression in zlib and gzip format:
Zlib::Deflate
for compressionZlib::Inflate
for decompression
Defined in:
zlib/deflate.crzlib/zlib.cr
Constant Summary
-
GZIP =
LibZ::MAX_BITS + 16
Class Method Summary
- .adler32(data)
- .adler32(data, adler)
- .adler32_combine(adler1, adler2, len)
- .crc32(data)
- .crc32(data, crc)
- .crc32_combine(crc1, crc2, len)
-
.version : String
Returns the linked zlib version.