Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-391

Zip entries alignment

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Similarly to COMPRESS-390, there are requirements of the zip content to be mapped directly into memory and therefore may require special alignment on the embedded files. E.g. libraries may be aligned to page (4096-bytes) boundary, images on 4-bytes boundary etc. By alignment it's meant the offset from the beginning of file where the actual data stream starts, not the header.

      One of the cases was (still is?) Android APK for which zipalign utility was created.

      It would be useful if commons-compress ZipArchiveOutputStream supports something similar directly in its API.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kvr Zbynek Vyskovsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: