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

5
LINES

< > BotCompany Repo | #1033067 - gunzipBytes

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3921L/22K).

static byte[] gunzipBytes(byte[] data) ctex {
  new ByteArrayOutputStream baos;
  copyStreamAndCloseAll(newGZIPInputStream(new ByteArrayInputStream(data)), baos);
  ret baos.toByteArray();
}

Author comment

Began life as a copy of #1000679

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033067
Snippet name: gunzipBytes
Eternal ID of this version: #1033067/1
Text MD5: c7d833b44986d154a9438a781e1087e6
Transpilation MD5: 62d10ea01f2021f3513bba9232ca28b0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-12 23:07:04
Source code size: 194 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 3 / 17
Referenced in: [show references]