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

6
LINES

< > BotCompany Repo | #1030403 // reverseBytesInInt

JavaX fragment (include)

static int reverseBytesInInt(int i) {
  ret i << 24
    | (i & 0xFF00) << 8
    | (i & 0xFF0000) >> 8
    | (i >> 24) & 0xFF;
}

Author comment

Began life as a copy of #1030402

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030403
Snippet name: reverseBytesInInt
Eternal ID of this version: #1030403/1
Text MD5: 2831ed0e79a0c266e56841912ff654c6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-13 02:14:49
Source code size: 132 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 104 / 135
Referenced in: [show references]