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

4
LINES

< > BotCompany Repo | #1026784 // isMP3FileByContent

JavaX fragment (include)

sbool isMP3FileByContent(File f) {
  ret firstBytesOfFileAre(f, "494433")
    || firstBytesOfFileAre(f, "FFFB");
}

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: #1026784
Snippet name: isMP3FileByContent
Eternal ID of this version: #1026784/1
Text MD5: fa098c4ac30cf2c1ee39f0aaed53ed19
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-22 14:38:39
Source code size: 117 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 144 / 174
Referenced in: [show references]