1 | static File createZipFileWithSingleBinaryFile(File zipFile, S name, byte[] data) { |
2 | temp ZipOutputStream outZip = newZipOutputStream(zipFile); |
3 | zip_addBinaryFile(outZip, name, data); |
4 | ret zipFile; |
5 | } |
Began life as a copy of #1025471
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027597 |
Snippet name: | createZipFileWithSingleBinaryFile |
Eternal ID of this version: | #1027597/1 |
Text MD5: | ec05bb9d5fac6873362b63b8283a8ba7 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-25 14:19:20 |
Source code size: | 205 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 156 / 192 |
Referenced in: | [show references] |