Libraryless. Click here for Pure Java version (15279L/90K).
static byte[] testStringToAndFromHuffmanBytes(S src) { byte[] comp = stringToHuffmanBytes(src); //printHexDump(comp); print(lUtf8(src) + " => " + l(comp)); S src2 = stringFromHuffmanBytes(comp); assertEquals(src, src2); ret comp; }
Began life as a copy of #1035688
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035691 |
Snippet name: | testStringToAndFromHuffmanBytes |
Eternal ID of this version: | #1035691/1 |
Text MD5: | 886a8f57948b0f93be47146e6032c1bc |
Transpilation MD5: | 1011d11371d46d5932cba10462fa7edd |
Author: | stefan |
Category: | javax / compression |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-06 22:08:57 |
Source code size: | 250 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 135 / 187 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |