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

4
LINES

< > BotCompany Repo | #1007031 // shortFromBytes_littleEndian

JavaX fragment (include)

static short shortFromBytes_littleEndian(byte[] a, int i) {
  ret (short) (ubyteToInt(a[i+1]) << 8
    | ubyteToInt(a[i]));
}

Author comment

Began life as a copy of #1007029

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: #1007031
Snippet name: shortFromBytes_littleEndian
Eternal ID of this version: #1007031/3
Text MD5: b61446f1c7d02497f5ab10ee492c84ba
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:22:29
Source code size: 128 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 526 / 525
Version history: 2 change(s)
Referenced in: [show references]