Libraryless. Click here for Pure Java version (2479L/16K).
1 | static int lastIndexOf_byteArray(byte[] a, byte b) { |
2 | for (int i = l(a)-1; i >=0; i--) |
3 | if (a[i] == b) |
4 | ret i; |
5 | ret -1; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028343 |
Snippet name: | lastIndexOf_byteArray |
Eternal ID of this version: | #1028343/1 |
Text MD5: | 7e498145cdd161d3807e2339a8f98068 |
Transpilation MD5: | a43ff56355616ea5396d9f346ca33a2e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-12 21:49:02 |
Source code size: | 136 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 170 / 251 |
Referenced in: | [show references] |