Libraryless. Click here for Pure Java version (33L/1K).
static long twoIntsToLong(int a, int b) { ret (((long) a) << 32) | (((long) b) & 0xFFFFFFFFL); }
Began life as a copy of #1028504
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, elmgxqgtpvxh, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029132 |
Snippet name: | twoIntsToLong - big-endian |
Eternal ID of this version: | #1029132/3 |
Text MD5: | 4b20827d57ddcc960ea084caa459ee31 |
Transpilation MD5: | 8355b0f7e239c7953e11cd2342dcba5a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-29 21:57:20 |
Source code size: | 100 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 282 / 391 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1029192 - firstIntFromLong - see twoIntsToLong |