8000 minizip/doc at dev · RayedGh/minizip · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

doc

README.md

Minizip Documentation

API

Constants

Prefix Description
MZ_COMPRESS_LEVEL Compression level enumeration
MZ_COMPRESS_METHOD Compression method enumeration
MZ_ENCODING Character encoding enumeration
MZ_ERROR Error constants
MZ_HASH Hash algorithms and digest sizes
MZ_HOST_SYSTEM System identifiers
MZ_OPEN_MODE Stream open modes
MZ_SEEK Stream seek origins
MZ_ZIP64 Zip64 extrafield options

Interfaces

Name Description
MZ_COMPAT Old minizip 1.x compatibility layer
MZ_OS Operating system level file system operations
MZ_ZIP Zip archive and entry interface
MZ_ZIP_RW Easy zip file extraction and creation

Structures

Name Description
MZ_ZIP_FILE Zip entry information

Extrafield Proposals

The zip reader and writer interface provides support for extended hash algorithms for zip entries, compression of the central directory, and the adding and verifying of CMS signatures for each entry. In order to add support for these features, extrafields were added and are described in the minizip extrafield documentation.

Limitations

  • Archives are required to have a central directory unless recovery mode is enabled.
  • Central directory header values should be correct and it is necessary for the compressed size to be accurate for encryption.
  • Central directory is the only data stored on the last disk of a split-disk archive and doesn't follow disk size restrictions.

Third-Party Limitations

  • Windows Explorer zip extraction utility does not support disk splitting. 1
  • macOS archive utility does not properly support ZIP files over 4GB. 1 2

Zlib Configuration