1 | static int intFromBytes(byte[] a, int i) { |
2 | ret ubyteToInt(a[i]) << 24 |
3 | | ubyteToInt(a[i+1]) << 16 |
4 | | ubyteToInt(a[i+2]) << 8 |
5 | | ubyteToInt(a[i+3]); |
6 | } |
Began life as a copy of #1002912
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004991 |
Snippet name: | intFromBytes - big-endian |
Eternal ID of this version: | #1004991/2 |
Text MD5: | a8b695033051b9fa3acf1014a0352b6d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-02 21:07:14 |
Source code size: | 165 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 587 / 612 |
Version history: | 1 change(s) |
Referenced in: | [show references] |