static short shortFromBytes(byte[] a, int i) { ret (short) (ubyteToInt(a[i]) << 8 | ubyteToInt(a[i+1])); }
Began life as a copy of #1004991
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007029 |
Snippet name: | shortFromBytes - big-endian |
Eternal ID of this version: | #1007029/3 |
Text MD5: | 462e5eeab262ab41fe01f160df90ec07 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-25 20:15:47 |
Source code size: | 115 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 592 / 563 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007031 - shortFromBytes_littleEndian |