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

6
LINES

< > BotCompany Repo | #1036041 // longArrayFromBytes_littleEndian_flexLength

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

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

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

Author comment

Began life as a copy of #1031657

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036041
Snippet name: longArrayFromBytes_littleEndian_flexLength
Eternal ID of this version: #1036041/1
Text MD5: 6c53d2cec7140b1da4e5bb9552af579d
Transpilation MD5: 15cca5aaef09263cf0e29af0815aad42
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-03 01:26:06
Source code size: 210 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 168
Referenced in: [show references]