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

3
LINES

< > BotCompany Repo | #1032257 // ushortToInt

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

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

static int ushortToInt(short s) {
  ret ((int) s) & 0xFFFF;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032257
Snippet name: ushortToInt
Eternal ID of this version: #1032257/1
Text MD5: a25a1e02b48efad27510b23faaf395ea
Transpilation MD5: 84cd6d2e328e425e7496579b6006d365
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-23 02:00:11
Source code size: 63 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 180 / 222
Referenced in: [show references]