You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2017/04/26 17:54:04 UTC

[jira] [Commented] (COMPRESS-391) Zip entries alignment

    [ https://issues.apache.org/jira/browse/COMPRESS-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985261#comment-15985261 ] 

Stefan Bodewig commented on COMPRESS-391:
-----------------------------------------

Have you got any details what "alignment" means? Do you know how it is achieved? I can imagine using zip extra fields for padding but that won't work unless you know the deflated size upfront.

> Zip entries alignment
> ---------------------
>
>                 Key: COMPRESS-391
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-391
>             Project: Commons Compress
>          Issue Type: New Feature
>          Components: Archivers
>    Affects Versions: 1.13
>            Reporter: Zbynek Vyskovsky
>              Labels: features, github-import, patch
>             Fix For: 1.14
>
>
> 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.
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)