Archive::Zip::Codec is a factory class for generating codec object instances based on the compression method and general purpose flag fields of ZIP entries. When adding a new codec, add a mapping in the CODECS constant from the compression method field value reserved for the codec in the ZIP specification to the class implementing the codec. See the implementations of Archive::Zip::Codec::Deflate and Archive::Zip::Codec::Store for details on implementing custom codecs.
COMPRESSION_CODECS | = | {} | A Hash mapping compression methods to compression codec implementations. New compression codecs must add a mapping here when defined in order to be used. | |
ENCRYPTION_CODECS | = | {} | A Hash mapping encryption methods to encryption codec implementations. New encryption codecs must add a mapping here when defined in order to be used. |