The Compress::Zip module contains readers and writers of the zip file format, described at PKWARE's site.
NOTE To use
Zip or its children, you must explicitly import it with
Two types are provided to read from zip files:
Compress::Zip::File: can read zip entries from a
Fileor from an
IO::Memoryand provides random read access to its entries.
Compress::Zip::Reader: can only read zip entries sequentially from any
When reading zip files, CRC32 checksum values are automatically
verified when finishing reading an entry, and
be raised if the computed CRC32 checksum does not match.
NOTE only compression methods 0 (STORED) and 8 (DEFLATED) are supported. Additionally, ZIP64 is not yet supported.compress/zip/checksum_reader.cr