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

4
LINES

< > BotCompany Repo | #1030402 // reverseBytesInLong

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

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

static long reverseBytesInLong(long l) {
  ret reverseBytesInInt((int) (l >> 32)) & 0xFFFFFFFFL
    | ((long) reverseBytesInInt((int) l)) << 32;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030402
Snippet name: reverseBytesInLong
Eternal ID of this version: #1030402/6
Text MD5: 7b64c4d78b7ea435e81dac85ba34af8b
Transpilation MD5: 6286479a5f897bef5ec24939247977f3
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:19:38
Source code size: 149 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 115 / 184
Version history: 5 change(s)
Referenced in: [show references]