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

6
LINES

< > BotCompany Repo | #1031657 // intArrayFromBytes_littleEndian_flexLength

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

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

1  
static int[] intArrayFromBytes_littleEndian_flexLength(byte[] a) {
2  
  int[] b = new int[(a.length+3)/4];
3  
  for (int i = 0; i < b.length; i++)
4  
    b[i] = intFromBytes_littleEndian_partial(a, i*4);
5  
  ret b;
6  
}

Author comment

Began life as a copy of #1029368

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031657
Snippet name: intArrayFromBytes_littleEndian_flexLength
Eternal ID of this version: #1031657/3
Text MD5: 6d98082875648e74e1154efcbed3218d
Transpilation MD5: 14bc46610230750862eaf0d4fa4abdf2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-25 04:40:51
Source code size: 210 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 176 / 258
Version history: 2 change(s)
Referenced in: [show references]