{"success":true,"data":{"ext":"elc","name":"ELC","description":"ELC is a compiled Emacs Lisp file used by GNU Emacs, a text editor developed and maintained by the GNU Project. It stores byte-compiled Lisp code for editor extensions, configuration files, and packages that load faster than their source forms. Like other executable code files, it should be opened only from trusted sources; the format is established and generally considered safe in normal use.","mime":["application/x-elc"],"risk_level":"Safe","signatures":[{"hex":"0A 28","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"3B 45 4C 43 13 00 00 00","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":[],"usage":{"python":"def is_elc(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ELC by magic bytes.\"\"\"\n    signature = bytes([0x0A, 0x28])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isELC(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x0A, 0x28]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsELC(data []byte) bool {\n    signature := []byte{0x0A, 0x28}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}