static byte[] isGZ_magic = bytesFromHex("1f8b"); static bool isGZ(byte[] data) { ret byteArrayStartsWith(data, isGZ_magic); } static bool isGZ(File f) { ret fileStartsWith(f, isGZ_magic); }
Began life as a copy of #1009031
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: | #1010493 |
Snippet name: | isGZ |
Eternal ID of this version: | #1010493/1 |
Text MD5: | 68eea7dd43221055744cc210df61bf28 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-18 19:58:12 |
Source code size: | 203 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 466 / 481 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |