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

11
LINES

< > BotCompany Repo | #1028983 // xzOutputStream

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

Uses 113K of libraries. Click here for Pure Java version (2535L/16K).

lib 1400408 // xz java 1.8

import org.tukaani.xz.*;

static XZOutputStream xzOutputStream(OutputStream out) ctex {
  ret new XZOutputStream(out, new LZMA2Options);
}

static XZOutputStream xzOutputStream(File f) ctex {
  ret xzOutputStream(newFileOutputStream(f));
}

Author comment

Began life as a copy of #1004695

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028983
Snippet name: xzOutputStream
Eternal ID of this version: #1028983/7
Text MD5: 7b6b29a85b2a73c77f0dad37f3f544a9
Transpilation MD5: 1b62bb3a8f9c5890d64a2da9dc3681fe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-16 15:30:53
Source code size: 277 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 348
Version history: 6 change(s)
Referenced in: [show references]