1 | static int reverseBytesInInt(int i) { |
2 | ret i << 24 |
3 | | (i & 0xFF00) << 8 |
4 | | (i & 0xFF0000) >> 8 |
5 | | (i >> 24) & 0xFF; |
6 | } |
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: | 163 / 200 |
Referenced in: | [show references] |