Libraryless. Click here for Pure Java version (28L/1K).
static byte byteFromInt_littleEndian(int i, int byteNr) { ret (byte) (i >> (byteNr*8)); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033137 |
Snippet name: | byteFromInt_littleEndian |
Eternal ID of this version: | #1033137/1 |
Text MD5: | d58df37cbc5f5b22a477201c9b147b0a |
Transpilation MD5: | 66f3e1487ac5a74d21d498851cd45250 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-15 17:34:58 |
Source code size: | 93 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 149 / 207 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033138 - replaceByteInInt_littleEndian |