1 | sS gunzipToText(S dataID) {
|
2 | ret gunzipToText(loadBinarySnippet(dataID)); |
3 | } |
4 | |
5 | sS gunzipToText(File f) ctex {
|
6 | new ByteArrayOutputStream baos; |
7 | copyStreamAndCloseAll(newGZIPInputStream(f), baos); |
8 | ret fromUtf8(baos.toByteArray()); |
9 | } |
10 | |
11 | sS gunzipToText(byte[] data) ctex {
|
12 | new ByteArrayOutputStream baos; |
13 | copyStreamAndCloseAll(newGZIPInputStream(new ByteArrayInputStream(data)), baos); |
14 | ret fromUtf8(baos.toByteArray()); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1000679 |
| Snippet name: | gunzipToText - unoptimized |
| Eternal ID of this version: | #1000679/8 |
| Text MD5: | 1e531594e18d7f43e59bdd5a5b15d55b |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-09 22:40:21 |
| Source code size: | 440 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 981 / 1392 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |