static byte[] gzipBytes(byte[] data) ctex { new ByteArrayOutputStream baos; GZIPOutputStream gos = new GZIPOutputStream(baos); gos.write(data, 0, l(data)); gos.close(); ret baos.toByteArray(); }
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: | 433 / 447 |
Referenced in: | [show references] |