Transpiled version (4563L) is out of date.
1 | svoid zip2zip_stored(File inZip, ZipOutputStream outZip) ctex {
|
2 | temp ZipFile zipFile = new(inZip); |
3 | for (e : enumerationToIterator(zipFile.entries())) {
|
4 | print("Copying " + e.getName());
|
5 | e.setMethod(ZipOutputStream.STORED); |
6 | e.setCompressedSize(e.getSize()); |
7 | outZip.putNextEntry(e); |
8 | copyStreamAndCloseInput(zipFile.getInputStream(e), outZip); |
9 | } |
10 | } |
Began life as a copy of #1001173
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033493 |
| Snippet name: | zip2zip_stored |
| Eternal ID of this version: | #1033493/4 |
| Text MD5: | 38c9f3fd674731466e9f6ce47fb6ade0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-29 06:38:06 |
| Source code size: | 378 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 450 / 576 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |