Libraryless. Click here for Pure Java version (2282L/15K).
sbool firstBytesOfFileAre(File f, S hex) { byte[] bytes = bytesFromHex(hex); ret byteArraysEqual(bytes, loadFirstBytes(f, l(bytes))); }
Began life as a copy of #1004676
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: | #1026783 |
Snippet name: | firstBytesOfFileAre |
Eternal ID of this version: | #1026783/1 |
Text MD5: | 40a05f142a79d3505e09af53ba9432fe |
Transpilation MD5: | f21986d408d1bf421766be05f09d2934 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-22 14:38:05 |
Source code size: | 142 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 218 / 313 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |