Libraryless. Click here for Pure Java version (4617L/26K).
sS littleEndianBitsToString(int data, int nBits) { ret stringFromFunction(nBits, i -> odd(data >> i) ? '1' : '0'); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033632 |
| Snippet name: | littleEndianBitsToString |
| Eternal ID of this version: | #1033632/2 |
| Text MD5: | 6b757da7ad49e0e087193b026bf07368 |
| Transpilation MD5: | 790cf5e2d12076fa748cc5c33bec9d18 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-12-22 14:41:11 |
| Source code size: | 120 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 355 / 473 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |