Libraryless. Click here for Pure Java version (3265L/18K).
static byte[] isWAVByContent_magic = utf8("RIFF"); sbool isWAVByContent(byte[] data) { ret byteArrayStartsWith(data, isWAVByContent_magic); } sbool isWAVByContent(File f) { ret isWAVByContent(loadBeginningOfBinaryFile(f, l(isWAVByContent_magic))); }
Began life as a copy of #1009031
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032430 |
Snippet name: | isWAVByContent ("RIFF") |
Eternal ID of this version: | #1032430/4 |
Text MD5: | e3efb19bf385ab0b92e05fa85169eba3 |
Transpilation MD5: | 9dc942366d0ad9f3afd50d7eec43d8d0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-04 18:03:44 |
Source code size: | 263 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 183 / 234 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |