Libraryless. Click here for Pure Java version (39L/1K).
1 | static byte[] intArrayToBytes_littleEndian(int[] a) {
|
2 | byte[] b = new byte[a.length*4]; |
3 | for (int i = 0; i < a.length; i++) |
4 | intToBytes_inArray_littleEndian(a[i], b, i*4); |
5 | ret b; |
6 | } |
Began life as a copy of #1004989
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029378 |
| Snippet name: | intArrayToBytes_littleEndian |
| Eternal ID of this version: | #1029378/1 |
| Text MD5: | c563899c1c3abfa8e1480da44b9444ac |
| Transpilation MD5: | ab81cd36341eb7239dab218f222e7608 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-03 11:48:24 |
| Source code size: | 192 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 491 / 618 |
| Referenced in: | [show references] |