1 | static byte[] longToBytes(long l) { |
2 | ret new byte[] { |
3 | (byte) (l >>> 56), |
4 | (byte) (l >>> 48), |
5 | (byte) (l >>> 40), |
6 | (byte) (l >>> 32), |
7 | (byte) (l >>> 24), |
8 | (byte) (l >>> 16), |
9 | (byte) (l >>> 8), |
10 | (byte) l}; |
11 | } |
Began life as a copy of #1002912
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013133 |
Snippet name: | longToBytes |
Eternal ID of this version: | #1013133/1 |
Text MD5: | 72d4e92da9027918a1a43f8089600876 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-26 05:17:35 |
Source code size: | 241 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 435 / 451 |
Referenced in: | [show references] |