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

11
LINES

< > BotCompany Repo | #1035067 // snappyCompress - not working yet

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

Uses 87K of libraries. Click here for Pure Java version (80L/1K).

lib 1400573 // snappy

import org.xerial.snappy.Snappy;

static byte[] snappyCompress(byte[] data) ctex {
  ret Snappy.compress(data);
}

static byte[] snappyCompress(S text) {
  ret snappyCompress(toUtf8(text));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035067
Snippet name: snappyCompress - not working yet
Eternal ID of this version: #1035067/3
Text MD5: 3035457d8294e63c17fbb7bf2057b5a3
Transpilation MD5: b61d493b19702a76e4f7093f1f5245bb
Author: stefan
Category: javax / compression
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-28 15:28:25
Source code size: 224 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 123 / 189
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035068 - snappyDecompress