module Zlib

Overview

The Zlib module provides access to the zlib library for lossless data compression and decompression in zlib and gzip format:

Defined in:

zlib/deflate.cr
zlib/zlib.cr

Constant Summary

GZIP = LibZ::MAX_BITS + 16

Class Method Summary

Class Method Detail

def self.adler32(data) #

[View source]
def self.adler32(data, adler) #

[View source]
def self.adler32_combine(adler1, adler2, len) #

[View source]
def self.crc32(data) #

[View source]
def self.crc32(data, crc) #

[View source]
def self.crc32_combine(crc1, crc2, len) #

[View source]
def self.version : String #

Returns the linked zlib version.


[View source]