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

10
LINES

< > BotCompany Repo | #1031145 // GZIPOutputStreamWithLevel - GZIPOutputStream + selectable compression level

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

Libraryless. Click here for Pure Java version (35L/1K).

sclass GZIPOutputStreamWithLevel extends GZIPOutputStream {
  *(OutputStream out) throws IOException {
    super(out);
  } 

  // set compression level
  public void setLevel(int level) {
    def.setLevel(level);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031145
Snippet name: GZIPOutputStreamWithLevel - GZIPOutputStream + selectable compression level
Eternal ID of this version: #1031145/1
Text MD5: 600c28ee70b78d0a17036da044eb922b
Transpilation MD5: 589cf8db98d5203ed3908bf761d57b85
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-13 12:58:20
Source code size: 227 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 210 / 400
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)