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

7
LINES

< > BotCompany Repo | #1004880 // ubyteToInt

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (32L/1K).

1  
static int ubyteToInt(byte b) {
2  
  ret b & 0x0FF;
3  
}
4  
5  
static int ubyteToInt(char c) {
6  
  ret c & 0x0FF;
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004880
Snippet name: ubyteToInt
Eternal ID of this version: #1004880/2
Text MD5: d129d8a14b699926347263dc94b40d30
Transpilation MD5: 60899595a5e32671375c1a03f2e92573
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-23 07:18:35
Source code size: 108 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 707 / 785
Version history: 1 change(s)
Referenced in: [show references]