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

10
LINES

< > BotCompany Repo | #1033093 // JETrivialCompressor - make a literal in the JavaX Eval compression regime - OLD

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

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  
}

Author comment

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: 158 / 307
Version history: 13 change(s)
Referenced in: [show references]