Libraryless. Click here for Pure Java version (37L/1K).
static long ubyteToLong(byte b) { ret b & 0x0FFL; } static long ubyteToLong(char c) { ret c & 0x0FFL; }
Began life as a copy of #1004880
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036043 |
| Snippet name: | ubyteToLong |
| Eternal ID of this version: | #1036043/1 |
| Text MD5: | 47fd99b046ff21307b82dd79333702a7 |
| Transpilation MD5: | 54ec55d6e99eab582e3f9f2d33383c45 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-09-03 01:29:14 |
| Source code size: | 114 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 390 / 485 |
| Referenced in: | [show references] |