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).

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

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: 177 / 260
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1036041 - longArrayFromBytes_littleEndian_flexLength