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).

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

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: 160 / 220
Referenced in: [show references]