Libraryless. Click here for Pure Java version (37L/1K).
1 | static long ubyteToLong(byte b) { |
2 | ret b & 0x0FFL; |
3 | } |
4 | |
5 | static long ubyteToLong(char c) { |
6 | ret c & 0x0FFL; |
7 | } |
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: | 128 / 183 |
Referenced in: | [show references] |