Libraryless. Click here for Pure Java version (47L/1K).
1 | static int ubyteSum(byte[] l) { |
2 | int sum = 0; |
3 | if (l != null) for (i : l) |
4 | sum += ubyteToInt(i); |
5 | ret sum; |
6 | } |
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: | 129 / 184 |
Referenced in: | [show references] |