static bool byteArrayStartsWith(byte[] a, byte[] b) { if (a == null || b == null) false; if (a.length < b.length) false; for (int i = 0; i < b.length; i++) if (a[i] != b[i]) false; true; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009030 |
Snippet name: | byteArrayStartsWith |
Eternal ID of this version: | #1009030/2 |
Text MD5: | a0b42cccb87deb7613d7e7d02c79ef4b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-28 19:50:54 |
Source code size: | 213 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 553 / 618 |
Version history: | 1 change(s) |
Referenced in: | [show references] |