static void bytesToShorts_signedBigEndian(byte[] a, short[] b) { int n = l(a)/2; for i to n: b[i] = (short) (((int) a[i*2]) << 8 | ((int) a[i*2+1]) & 0xFF); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1008001 |
| Snippet name: | bytesToShorts_signedBigEndian |
| Eternal ID of this version: | #1008001/4 |
| Text MD5: | 6b8afb447d8b7bca84a10ebb9c9ef25a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-05 15:07:00 |
| Source code size: | 170 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 800 / 825 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |