Uses 87K of libraries. Click here for Pure Java version (80L/1K).
1 | lib 1400573 // snappy |
2 | |
3 | import org.xerial.snappy.Snappy; |
4 | |
5 | static byte[] snappyCompress(byte[] data) ctex { |
6 | ret Snappy.compress(data); |
7 | } |
8 | |
9 | static byte[] snappyCompress(S text) { |
10 | ret snappyCompress(toUtf8(text)); |
11 | } |
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: | 124 / 190 |
Version history: | 2 change(s) |
Referenced in: | [show references] |