Transpiled version (7468L) is out of date.
1 | sclass JETrivialCompressor extends JEInstantCompressor { |
2 | IJavaExpr compress(LByte data) { |
3 | if (data == null) |
4 | ret javaExpr("null", -> null); |
5 | |
6 | ret javaExpr(functionCall lBytes( |
7 | stringable(-> quote(toHexString(data)))), |
8 | -> data); |
9 | } |
10 | } |
Began life as a copy of #1033082
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033093 |
Snippet name: | JETrivialCompressor - make a literal in the JavaX Eval compression regime - OLD |
Eternal ID of this version: | #1033093/14 |
Text MD5: | a19ca8a731dc511e7a1497324d864f93 |
Author: | stefan |
Category: | javax / recognition by compression |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-16 06:17:07 |
Source code size: | 274 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 239 / 412 |
Version history: | 13 change(s) |
Referenced in: | [show references] |