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

6
LINES

< > BotCompany Repo | #1036089 // ubyteSum

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

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

static int ubyteSum(byte[] l) {
  int sum = 0;
  if (l != null) for (i : l)
    sum += ubyteToInt(i);
  ret sum;
}

Author comment

Began life as a copy of #1006064

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036089
Snippet name: ubyteSum
Eternal ID of this version: #1036089/1
Text MD5: 63a3b4b27b40f52a3c3f749f31149b90
Transpilation MD5: 3b559898bf623915626be122bd0dab43
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-08 23:02:52
Source code size: 119 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 122 / 173
Referenced in: [show references]