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.

sclass JETrivialCompressor extends JEInstantCompressor {
  IJavaExpr compress(LByte data) {
    if (data == null)
      ret javaExpr("null", -> null);
      
    ret javaExpr(functionCall lBytes(
      stringable(-> quote(toHexString(data)))),
      -> data);
  }
}

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