Libraryless. Click here for Pure Java version (2479L/16K).
static int lastIndexOf_byteArray(byte[] a, byte b) { for (int i = l(a)-1; i >=0; i--) if (a[i] == b) ret i; ret -1; }
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: | 169 / 248 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028345 - indexOf_byteArray |