Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1027596 // zip_addBinaryFile

JavaX fragment (include)

1  
svoid zip_addBinaryFile(ZipOutputStream outZip, S name, byte[] data) ctex {
2  
  outZip.putNextEntry(new ZipEntry(name));
3  
  outZip.write(data, 0, l(data));
4  
}

Author comment

Began life as a copy of #1006539

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: #1027596
Snippet name: zip_addBinaryFile
Eternal ID of this version: #1027596/3
Text MD5: f6bc56d97721259edc093b76e84645ce
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-25 14:21:01
Source code size: 157 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 204
Version history: 2 change(s)
Referenced in: [show references]