"use strict";
/**
 * ZIP format constants (PKWARE APPNOTE)
 * Shared by ZIP writer and parser implementations.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.UINT32_MAX = exports.UINT16_MAX = exports.FLAG_DATA_DESCRIPTOR = exports.FLAG_UTF8 = exports.COMPRESSION_DEFLATE = exports.COMPRESSION_STORE = exports.VERSION_MADE_BY = exports.VERSION_NEEDED = exports.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG = exports.ZIP64_END_OF_CENTRAL_DIR_SIG = exports.DATA_DESCRIPTOR_SIG = exports.END_OF_CENTRAL_DIR_SIG = exports.CENTRAL_DIR_HEADER_SIG = exports.LOCAL_FILE_HEADER_SIG = void 0;
// Signatures
exports.LOCAL_FILE_HEADER_SIG = 0x04034b50;
exports.CENTRAL_DIR_HEADER_SIG = 0x02014b50;
exports.END_OF_CENTRAL_DIR_SIG = 0x06054b50;
exports.DATA_DESCRIPTOR_SIG = 0x08074b50;
exports.ZIP64_END_OF_CENTRAL_DIR_SIG = 0x06064b50;
exports.ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG = 0x07064b50;
// Versions
exports.VERSION_NEEDED = 20; // 2.0 - supports DEFLATE
exports.VERSION_MADE_BY = 20; // 2.0
// Compression methods
exports.COMPRESSION_STORE = 0;
exports.COMPRESSION_DEFLATE = 8;
// General purpose bit flags
exports.FLAG_UTF8 = 0x0800;
exports.FLAG_DATA_DESCRIPTOR = 0x0008;
// ZIP64 / sentinel sizes
exports.UINT16_MAX = 0xffff;
exports.UINT32_MAX = 0xffffffff;
