Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1026625 // fileContainsBytes [dev.]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2232L/14K).

sbool fileContainsBytes(File f, byte[] data) {
  ret indexOfBytesInFile(f, data) >= 0;
}

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: #1026625
Snippet name: fileContainsBytes [dev.]
Eternal ID of this version: #1026625/10
Text MD5: 7855e03a8c9430260639383723e42726
Transpilation MD5: e71cd401424391b7097acae479828531
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 21:36:37
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 305
Version history: 9 change(s)
Referenced in: [show references]