1 | static byte[] gzipBytes(byte[] data) ctex { |
2 | new ByteArrayOutputStream baos; |
3 | GZIPOutputStream gos = new GZIPOutputStream(baos); |
4 | gos.write(data, 0, l(data)); |
5 | gos.close(); |
6 | ret baos.toByteArray(); |
7 | } |
Began life as a copy of #1006276
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011183 |
Snippet name: | gzipBytes - gzip a byte array |
Eternal ID of this version: | #1011183/1 |
Text MD5: | 353abfa1f4ddbf6105c4706be0961d9a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-16 22:05:42 |
Source code size: | 210 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 435 / 450 |
Referenced in: | [show references] |