Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1017154 // bytesToShorts_littleEndian

JavaX fragment (include)

1  
svoid bytesToShorts_littleEndian(byte[] a, short[] b, int n) {
2  
  n /= 2;
3  
  for (int i = 0; i < n; i++)
4  
    b[i] = shortFromBytes_littleEndian(a, i*2);
5  
}

Author comment

Began life as a copy of #1007030

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017154
Snippet name: bytesToShorts_littleEndian
Eternal ID of this version: #1017154/1
Text MD5: e122b489c19f3bebaaafc3e5bbe36383
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 13:01:01
Source code size: 156 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 423 / 438
Referenced in: [show references]